[Bug 2704] [XSLT] local param cannot shadow another local param

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2704

           Summary: [XSLT]  local param cannot shadow another local param
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: joannet@ca.ibm.com
         QAContact: public-qt-comments@w3.org


The sentence between the two example boxes in section 9.7 (Scope of Variables) 
reads:

"It is also not an error if a binding established by a local xsl:variable or 
xsl:param element shadows another binding established by another local 
xsl:variable or xsl:param."

This statement conflicts with error XTSE0580 (It is a static error if two 
parameters of a template or of a stylesheet function have the same name).  
It's not possible for a local xsl:param to shadow a binding established by 
another local xsl:variable or xsl:param.

Suggested resolution:  The first instance of "or xsl:param" in this sentence 
should be struck.

Received on Wednesday, 11 January 2006 18:55:20 UTC