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 30094 - [xslt30] Incorrect explanation of rule concerning visibility of local variables
Summary: [xslt30] Incorrect explanation of rule concerning visibility of local variables
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:26 UTC by Michael Kay
Modified: 2017-06-01 20:48 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2017-04-18 09:26:44 UTC
Section 9.1 states the rule:

The visibility attribute must not be specified for a local variable

and follows this with the clarification: 

that is, it is allowed only when the parent element is xsl:stylesheet, xsl:transform, or xsl:override.

The clarification is not quite accurate. It should say:

that is, it is allowed only when the parent element is xsl:package, xsl:stylesheet, xsl:transform, or xsl:override.
Comment 1 Michael Kay 2017-05-04 17:51:24 UTC
The WG agreed the change and it has been applied to the spec.