[ http://issues.apache.org/jira/browse/XALANC-450?page=comments#action_57907 ] Joe Kesselman commented on XALANC-450: --------------------------------------
The error is correct behavior. Scientific (1.2E3) notation is unfortunately not supported by the XPath/XSLT language specs. > DoubleSupport::toDouble fails to deliver expected result. > --------------------------------------------------------- > > Key: XALANC-450 > URL: http://issues.apache.org/jira/browse/XALANC-450 > Project: XalanC > Type: Improvement > Components: XalanC > Versions: 1.8 > Reporter: Martin Hepperle > > The following call fails to deliver the expected result if the string s > contains a double value written using an exponent like "1.2E3" or "1.2E-03". > The exponent should be handled properly. > The "E" is not taken into accounmt when checking for a valid double format. > (In scientific applications the exponent is very often expressed by the "E" > format or a "D" format when a double is written using FORTRAN). > dValue = DoubleSupport::toDouble(XalanDOMString s); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
