W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2016

[Bug 29714] New: [xslt 3.0] Corrections to examples

From: <bugzilla@jessica.w3.org>
Date: Fri, 01 Jul 2016 11:45:16 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29714-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29714

            Bug ID: 29714
           Summary: [xslt 3.0] Corrections to examples
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

(Posted on public XSL WG list)

Few corrections to make to the examples

In 3.5.3.5 Binding References to Components

<xsl:package name="Q"
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:variable name="A" visibility="final" select="$B + 1"/>
 <xsl:variable name="B" visibility="private" select="$C * 2"/>
 <xsl:variable name="C" visibility="public" select="22"/>
</xsl:package>

is missing attribute version which is mandatory version attribute
according to 3.5 Packages

same for

<xsl:package name="P" package-version="2.0"
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:use-package name="Q">
   <xsl:override>
     <xsl:variable name="C" visibility="private" select="$xsl:original + 3"/>
   </xsl:override>
 </xsl:use-package>

 <xsl:template name="T" visibility="public">
   <xsl:value-of select="$A"/>
 </xsl:template>
</xsl:package>

where package-version should be replaced to version

Hope this helps

Mohamed



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 1 July 2016 11:45:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:01 UTC