[ http://issues.apache.org/jira/browse/XALANC-450?page=history ]
     
David Bertoni resolved XALANC-450:
----------------------------------

    Resolution: Invalid

The lexical representation of numbers in XPath 1.0 does not allow exponential 
notation, so we cannot change DoubleSupport::toDouble() as you have requested.

> 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]

Reply via email to