<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29714</bug_id>
          
          <creation_ts>2016-07-01 11:45:16 +0000</creation_ts>
          <short_desc>[xslt 3.0] Corrections to examples</short_desc>
          <delta_ts>2016-10-06 18:42:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 3.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>abel.braaksma</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>126880</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-07-01 11:45:16 +0000</bug_when>
    <thetext>(Posted on public XSL WG list)

Few corrections to make to the examples

In 3.5.3.5 Binding References to Components

&lt;xsl:package name=&quot;Q&quot;
       xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;
 &lt;xsl:variable name=&quot;A&quot; visibility=&quot;final&quot; select=&quot;$B + 1&quot;/&gt;
 &lt;xsl:variable name=&quot;B&quot; visibility=&quot;private&quot; select=&quot;$C * 2&quot;/&gt;
 &lt;xsl:variable name=&quot;C&quot; visibility=&quot;public&quot; select=&quot;22&quot;/&gt;
&lt;/xsl:package&gt;

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

same for

&lt;xsl:package name=&quot;P&quot; package-version=&quot;2.0&quot;
       xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;
 &lt;xsl:use-package name=&quot;Q&quot;&gt;
   &lt;xsl:override&gt;
     &lt;xsl:variable name=&quot;C&quot; visibility=&quot;private&quot; select=&quot;$xsl:original + 3&quot;/&gt;
   &lt;/xsl:override&gt;
 &lt;/xsl:use-package&gt;

 &lt;xsl:template name=&quot;T&quot; visibility=&quot;public&quot;&gt;
   &lt;xsl:value-of select=&quot;$A&quot;/&gt;
 &lt;/xsl:template&gt;
&lt;/xsl:package&gt;

where package-version should be replaced to version

Hope this helps

Mohamed



-- 
Innovimax SARL
Consulting, Training &amp; 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 €</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126944</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-07-10 17:29:19 +0000</bug_when>
    <thetext>Thanks for these corrections, which I have applied.

The corrections have been made silently (no entry in the change log).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>