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

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