Interpreter does not catch duplicate variable/param error.
----------------------------------------------------------
Key: XALANJ-2408
URL: https://issues.apache.org/jira/browse/XALANJ-2408
Project: XalanJ2
Issue Type: Bug
Components: parse-or-compile
Affects Versions: The Latest Development Code
Reporter: Erin Harris
Priority: Minor
Interpreter does not catch duplicate variables/params.
Test case:
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:variable name="foo" select="'bar'"/>
<xsl:variable name="foo" select="'bar2'"/>
<xsl:template match='/'>
<out>
<xsl:value-of select="$foo"/>
</out>
</xsl:template>
</xsl:stylesheet>
--
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]