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=5898>. 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=5898 Function "format-number()" not working Summary: Function "format-number()" not working Product: XalanC Version: 1.2.x Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In XalanC 1.2.x use of this function has been reported as not fully implemented: XSL Warning: format-number() is not fully implemented!, ... In XalanC 1.3 this Warning does not appear BUT the function is still not working For tests try this small Stylesheet with any XML-Source: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" encoding="ISO-8859-1" indent="no"/> <xsl:template match="/"> <xsl:value-of select="format-number(12.5, '$#.00')"/> </xsl:template> </xsl:stylesheet> The output should be "$12.50" The output IS: "12.5"