Bug: Invalid XPath syntax in XSL:for-each hangs debugger
Posted: Thu Jul 01, 2004 4:06 pm
Oxygen V4.1
Xalan 2.5.1
Using the following (invalid) code:
<xsl:for-each select="field[not(identity)">
<xsl:text>Output Something...</xsl:text>
</xsl:for-each>
Note missing ']' in XPath.
Generates a Stack Overflow and causes Oxygen to eat large quantities of memory until a out of memory error occurs.
Obviously, correcting the XPath statement resolves the problem but it shouldn't be causing a hang.
Xalan 2.5.1
Using the following (invalid) code:
<xsl:for-each select="field[not(identity)">
<xsl:text>Output Something...</xsl:text>
</xsl:for-each>
Note missing ']' in XPath.
Generates a Stack Overflow and causes Oxygen to eat large quantities of memory until a out of memory error occurs.
Obviously, correcting the XPath statement resolves the problem but it shouldn't be causing a hang.