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 28357 - [XSLT30] (editorial) Some remnants in draft about visibility attribute of xsl:param, which is now gone
Summary: [XSLT30] (editorial) Some remnants in draft about visibility attribute of xsl...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Windows NT
: P2 trivial
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: 2015-03-28 12:36 UTC by Abel Braaksma
Modified: 2015-10-29 09:50 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2015-03-28 12:36:13 UTC
In Bug 26740 we decided to remove the xsl:param/@visibility attribute. This is reflected in most places, but there is one place that still refers to this.

2.3.2 Priming a stylesheet
The first Note mentions parameters with visibility:

<quote>
Non-static stylesheet parameters must be public, final, or abstract, which ensures that all the parameters in the stylesheet for which values can be supplied externally have distinct names. Static parameters, by contrast, can have names that are duplicated across different packages.
</quote>

I think that Note is now redundant, or should be changed to "non-static stylesheet parameters are implicitly public, which ensures [...]"

The part on static parameters seems vague. Names can be duplicated, but the parameters cannot. One static param in one package is not visible in another package, even if they have the same name.

I did not find other mentions.
Comment 1 Abel Braaksma 2015-03-28 14:29:19 UTC
There's another spot, though not necessarily an error. In 3.6.3.3 Overriding Components from a Used Package:

<quote>
The visibility of the overriding component in the using package is defined by the visibility attribute appearing on the overriding declaration.
</quote>

which is not (entirely) true for xsl:param, in which case there is no such attribute. I propose:

    The visibility of the overriding component in the using package 
    is defined by the visibility attribute appearing on the overriding
    declaration, or implicitly public in the case of xsl:param.
Comment 2 Michael Kay 2015-04-16 22:39:39 UTC
Fixed as suggested.