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=24246>. 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=24246 The number() function fails ------- Additional Comments From [EMAIL PROTECTED] 2003-10-31 07:49 ------- Sorry, you were right, my example didn't show the error. But I'm sure this one shows the error: Input file (named a.xml): <?xml version='1.0'?> <a> </a> Stylesheet (named a.xsl): <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:template match="/*"> <xsl:copy> <xsl:if test="number(.) > 0"> Greater </xsl:if> </xsl:copy> </xsl:template> </xsl:stylesheet> Output from the following command line: java -jar xalan.jar -in a.xml -xsl a.xsl .xml.transform.TransformerException): String index out of range: 10 Please test yourself.
