Hi *, we have a problem using sum()-function with numbers with more than 20 decimal places in Xalan-J-2.2.D14.
Tracking down the problem I found that in class org.apache.xpath.objects.XStringForFSB the method toDouble() now uses Long to convert Strings to double (in the past the conversion was done via Double's). Because there are no tests regarding to many decimal places from 2^63 on there is a Long overflow. I know XSLT definition only allow 64bit floating point numbers for which Long is enough to convert. But when users enter more decimals Xalan should perhaps cut or round. Am I right? Greatings Wolfram
