Spurious (though harmless) assert failure in XPath::findNodeSet() when an 
expression contains an empty node-set enclosed in parenthesis
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: XALANC-625
                 URL: http://issues.apache.org/jira/browse/XALANC-625
             Project: XalanC
          Issue Type: Bug
          Components: XPathC
    Affects Versions: 1.10
         Environment: winxpsp2
            Reporter: Alain Le Guennec
            Priority: Minor


There is a spurious (though apparently harmless) assert failure in 
XPath::findNodeSet() when compiled in Debug mode
if an expression contains an empty node-set enclosed in parenthesis, as in the 
following stylesheet:

<?xml version="1.0"  encoding = "ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <xsl:template match="/">
                <xsl:variable name="empty-nodeset" select="/.."/>
                <xsl:variable name="foo" select="($empty-nodeset)/@bar"/>
                <xsl:value-of select="count($foo)"/>
        </xsl:template>
</xsl:stylesheet>

Best regards,
Alain Le Guennec.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to