W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2014

[Bug 27300] New: [XSLT30] Simplified package visibility of components, esp. xsl:function

From: <bugzilla@jessica.w3.org>
Date: Tue, 11 Nov 2014 11:18:36 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27300-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 27300
           Summary: [XSLT30] Simplified package visibility of components,
                    esp. xsl:function
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

This was initially brought to attention by Dimitre Novatchev (see

The transformation for simplified packages does not include xsl:function and so
does not make its implicit visibility public, even though it is a callable

 <xsl:transform version="3.0" 

    <xsl:namespace-alias stylesheet-prefix="t" result-prefix="xsl"/>

    <xsl:template match="xsl:stylesheet|xsl:transform">
      <t:package declared-modes="no">
        <xsl:copy-of select="@*"/>
        <t:expose component="mode" names="*" visibility="public"/>
        <t:expose component="template" names="*" visibility="public"/>
        <xsl:copy-of select="node()"/>

Other components not included are xsl:accumulator and xsl:variable. Even if
their intentional implicit visibility is private, perhaps it still makes sense
to make that explicit in the transformation, if anything, then just to forgo
the perceived ambiguity mentioned in Dimitre's mail.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 11 November 2014 11:18:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:51 UTC