|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] function number()
>I am using xalan-J transformation engine on UNIX platform.
>When I use the xsl function number() for a large value , there seems to
be
>an overflow and the function returns an arbitrarily large number.
>e.g. number('1900385999.000') returns 576398327.327184
For Xalan-specific questions, you're better off hitting Xalan's own
mailing liet.
If you're using the same release of Xalan on both platforms, I can't think
of anything that would cause this difference unless it's a divergence in
the underlying JVM's math libraries. If you aren't using the same release,
fix that and try again; there was a known bug in some versions of Xalan's
string-to-double conversion.
(Note that we don't use the built-in Java function because it would accept
strings that XSLT says we shouldn't.)
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"may'ron DaroQbe'chugh vaj bIrIQbej" ("Put down the squeezebox and nobody
gets hurt.")
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








