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=5851>. 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=5851 Boolean expression with string and integer Summary: Boolean expression with string and integer Product: XalanJ2 Version: 2.2.x Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I run the following stylesheet <?xml version='1.0' standalone='yes'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <html> <body> <xsl:choose> <xsl:when test="'01' = 1">'01' = 1<br /></xsl:when> </xsl:choose> <xsl:choose> <xsl:when test="1 = '01'">1 = '01'<br /></xsl:when> </xsl:choose> </body></html> </xsl:template> </xsl:stylesheet> Results in 1 = '01' According to http://www.w3.org/TR/xpath#booleans the result should be '01' = 1 1 = '01'
