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

[Bug 21597] [XT3TS] higher-order-functions-068

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Oct 2016 14:24:45 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21597-523-MyWFnJ8qPX@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21597

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|CLOSED                      |REOPENED

--- Comment #5 from Michael Kay <mike@saxonica.com> ---
(For some reason we haven't been running this test recently. I've just removed
it from our "don't run" exceptions list).

I believe the correct result of this test is now 89, not 55.

If I change the test to

    <xsl:template name="main">
        <out><xsl:value-of 
         select="for $n in 1 to 12 return f:fib($n, function($a) {$a})"
/></out>
    </xsl:template>

I get 

    <out>1 1 2 3 5 8 13 21 34 55 89 144</out>

that is, the first 12 terms of the Fibonacci sequence. With the parameter 11
given in the published test, the correct result should be the 11th term of the
sequence, that is 89.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 24 October 2016 14:25:11 UTC

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