Re: New XSLT 3.0 draft

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

On Fri, Jul 1, 2016 at 12:17 AM, Michael Kay <mike@saxonica.com> wrote:
> I've posted a new draft at the usual location
>
> http://www.w3.org/XML/Group/qtspecs/specifications/xslt-30/html/Overview-diff.html
>
> Please review the change for the following bugs in particular:
>
> 29692 - doc/collection and xsl:strip-space
>
> 29696 - dropping streamability of global context item
>
> 29697 - nested xsl:merge instructions
>
> (Go to the list of changes at
>
> http://www.w3.org/XML/Group/qtspecs/specifications/xslt-30/html/Overview-diff.html#changes-since-nov-2015
>
> where all the changes made for each bug are linked to the bug entry)
>
> Michael Kay
> Saxonica
>



-- 
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 €

Received on Friday, 1 July 2016 11:32:09 UTC