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 24763 - [xslt3.0] Error XTSE0630: duplicate global variable names, etc.
Summary: [xslt3.0] Error XTSE0630: duplicate global variable names, etc.
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC 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: 2014-02-21 14:42 UTC by Michael Kay
Modified: 2014-05-15 14:00 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2014-02-21 14:42:40 UTC
Error XTSE0630 (section 9.5) should only ban duplicate variable names within a package, not within the whole stylesheet. Also affects the paragraph preceding the error description.

Other places where the text needs to be adjusted because names are now scoped to a package include:

10.3 "can be called from any XPath expression used in the stylesheet"

XTSE0650 should say "if a package contains" rather than "if a stylesheet contains", because static errors must be detectable while processing a package in isolation.

XTSE0710: "any xsl:attribute-set declaration in the stylesheet." -> should talk about declarations visible in the package. 

XTSE1222: "in the stylesheet" -> in the same package.

XTSE1520: "in-scope schema components for the stylesheet" -> "for the package".

XTSE1580: "If the stylesheet contains" -> "If a package contains".

XTSE1590: "in the stylesheet" -> in the same package.

XTSE1550, XTSE1560: "if the stylesheet includes" -> if a package includes.

XTSE3430: stylesheet -> package.
Comment 1 Michael Kay 2014-04-24 15:02:15 UTC
The references to error 1550 and 1560 should read 1650 and 1660.
Comment 2 Michael Kay 2014-04-24 15:06:22 UTC
I have deemed this editorial and have fixed the identified sections accordingly.