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=17092>. 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=17092 XSLTC Chokes on format-number function Summary: XSLTC Chokes on format-number function Product: XalanJ2 Version: 2.4Dx Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When using format-number(), i am getting a 'Translet error(s): null' response from XSLTC on execute, although the translet compiles without complaint. Removing the format-number function, the rest of the stylesheet executes normally. Inputs listed below: <!-- xsl file --> <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" omit-xml-declaration="yes" indent="yes" /> <xsl:template match="/"> <xsl:variable name="test">21</xsl:variable> <xsl:value-of select="format-number($test,'##.00')" /> </xsl:template> </xsl:stylesheet> <!-- command line commands --> java org.apache.xalan.xsltc.cmdline.Compile xsl/test-number-error.xsl java org.apache.xalan.xsltc.cmdline.Transform xml/complex-bean-xml-specs/test- number-error.xml test-number-error
