[Bug 30045] New: [fo3.1] Error in specification of array:fold-right()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=30045

            Bug ID: 30045
           Summary: [fo3.1] Error in specification of array:fold-right()
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Pointed out by Wouter S. Hager on the xquery-talk list:

<quote>
Not sure if anyone already noticed, but there's an error in the XPath/XQuery
F&O docs, where the example implementation of array:fold will always return an
array...
</quote>

It seems that in the "reference implementation" given to specify the function,

then [$zero]

should read

then $zero

to ensure that the function delivers the result implied by the examples and
notes, as well as all the test cases in the test suite.

The same error is present in array:fold-left.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 12 January 2017 12:57:20 UTC