Subject: [xsl] function number() From: Joseph Kesselman <keshlam@xxxxxxxxxx> Date: Thu, 24 Apr 2003 17:17:57 -0400 |
>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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] function number(), J.Pietschmann | Thread | [xsl] silly (c) symbol. How to get , malcolm macaulay |
RE: [xsl] silly (c) symbol. How to , malcolm macaulay | Date | Re: [xsl] silly (c) symbol. How to , S Woodside |
Month |