You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/17 03:39:54 UTC
DO NOT REPLY [Bug 4219] New: -
number('+30E-1') returns 'NaN' instead of '3'
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=4219>.
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=4219
number('+30E-1') returns 'NaN' instead of '3'
Summary: number('+30E-1') returns 'NaN' instead of '3'
Product: XalanJ2
Version: 2.2.x
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Blocker
Priority: Other
Component: Xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: dkirkdorffer@versatilemobile.com
Version 2.0.0 and 2.1.0 of Xalan provide the ability to convert scientific
notation into a number. For example number('+30E-1') would return '3'. This
ability is broken in the versions of 2.2 (D6 and D11) I have tested it with.
I believe this is a Xalan "extension" on the spec, but it sure is nice to be
able to do this rather than having to recursively calculate exponents.