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

[Bug 30031] [FO31] XSLT code sample for for-each-pair has errors

From: <bugzilla@jessica.w3.org>
Date: Thu, 08 Dec 2016 19:11:41 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30031-523-G3vTzp7H42@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30031

Max Toro <maxtoroq@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[FO31] XSLT code sample for |[FO31] XSLT code sample for
                   |:for-each-pair              |for-each-pair has errors

--- Comment #1 from Max Toro <maxtoroq@gmail.com> ---
In section 16.2.5 fn:for-each-pair:

    <xsl:function name="fn:for-each-pair">
      <xsl:param name="seq1/>
      <xsl:param name="seq2/>
      <xsl:param name="f"/>
      <xsl:if test="fn:exists($seq1) and fn:exists($seq2)">
        <xsl:sequence select="$f(fn:head($seq1), fn:head($seq2))"/>
        <xsl:sequence select="fn:for-each-pair(fn:tail($seq1), fn:tail($seq2),
$f)"/>
      </xsl:if>
    </xsl:function>

It's missing the close quote for the first two parameters.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 8 December 2016 19:11:48 UTC

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