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

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