DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14241>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14241

extra trailing 0 when doing XPath string() conversion

           Summary: extra trailing 0 when doing XPath string() conversion
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Xalan adds an extra trailing 0 when doing XPath number to string conversions of 
small numbers.

string(0.04) comes out as 0.04 (correct).
string(0.00004) comes out as 0.000040.

By the XPath spec, it looks like there should be no extra 0. Also note the gold 
output for math110 appears to be incorrect.

Reply via email to