This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2704 - [XSLT] local param cannot shadow another local param
Summary: [XSLT] local param cannot shadow another local param
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 18:55 UTC by Joanne Tong
Modified: 2006-01-27 20:43 UTC (History)
0 users

See Also:


Attachments

Description Joanne Tong 2006-01-11 18:55:01 UTC
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.
Comment 1 Michael Kay 2006-01-27 20:43:15 UTC
The change has been made.