Incorrect evaluation of XPath statements with more than one predicate
---------------------------------------------------------------------
Key: XALANJ-2364
URL: https://issues.apache.org/jira/browse/XALANJ-2364
Project: XalanJ2
Issue Type: Bug
Components: XSLTC
Affects Versions: 2.7
Reporter: Tristan Mitchell
Input XML:
<root/>
Stylesheet:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="root"/>
<xsl:template match="*[not(self::foo)[EMAIL PROTECTED]">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
This should not output the element <root/> but seems to evaluating the XPath on
the second template without including the second
predicate, [EMAIL PROTECTED] I have also produced the same incorrect result
using other expressions, for example match="*[not(self::foo)][not(self::root)]"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]