You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Erin Harris (JIRA)" <xa...@xml.apache.org> on 2007/10/18 23:23:50 UTC

[jira] Created: (XALANJ-2408) Interpreter does not catch duplicate variable/param error.

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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org