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 28527 - [XSLT30] (editorial) Schema for stylesheets contains assertion for xsl:param/@visibility
Summary: [XSLT30] (editorial) Schema for stylesheets contains assertion for xsl:param/...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call 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-04-21 12:02 UTC by Abel Braaksma
Modified: 2015-04-23 22:18 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2015-04-21 12:02:31 UTC
Really minor thingy, the element declaration of xsl:param has:

<xs:assert
    test="if (normalize-space(@static) = 'yes') 
          then normalize-space(@visibility) = ('', 'private', 'final') 
          else true()">
    <xs:annotation>
        <xs:documentation>
            <p>When the static attribute is present with the value yes, 
               the visibility attribute must not have a value other 
               than private or final.</p>
        </xs:documentation>
    </xs:annotation>
</xs:assert>

which I believe is redundant: there is no visibility attribute anymore.
Comment 1 Michael Kay 2015-04-23 17:16:17 UTC
The change was accepted.
Comment 2 Michael Kay 2015-04-23 22:18:10 UTC
The change has been applied.