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 30095 - [xslt30] Visibility of global variables: should link to rules for packages
Summary: [xslt30] Visibility of global variables: should link to rules for packages
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Proposed Recommendation
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: 2017-04-18 09:55 UTC by Michael Kay
Modified: 2017-06-01 20:49 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2017-04-18 09:55:34 UTC
Section 9.9 concerning the scope of variables contains no mention of packages. A reader who reads this section in isolation, without first becoming familiar with the sections of the spec concerning packages, may find the current wording misleading.

Specifically, the paragraph that reads:

A global variable binding element is visible everywhere in the stylesheet (including other stylesheet modules) except within the xsl:variable or xsl:param element itself and any region where it is shadowed by another variable binding.

would be clearer if it read:

A global variable binding element is visible everywhere in the containing package (including other stylesheet modules) except within the xsl:variable or xsl:param element itself and any region where it is shadowed by another variable binding. (For rules regarding the visibility of the variable in other packages, see 3.5.3.1.)
Comment 1 Michael Kay 2017-05-04 17:56:14 UTC
The WG agreed the change and it has been applied to the spec.