W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2011

[Bug 12661] New: fold-right() results seem to be wrong

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 May 2011 14:15:27 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-12661-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12661

           Summary: fold-right() results seem to be wrong
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: peter.fischer@inf.ethz.ch
         QAContact: public-qt-comments@w3.org


Several of the results of fold-right seem to be wrong:

- fold-right-001: Expected result is <out>0</out>, but the spec says
<out>15</out>. In addition, fold-left-001 also has 15 as expected result, and +
is associative.
- same problem with fold-right-002: expected 1, should be 210
- same with fold-right-003: expected false, should be true
- fold-right-005: expected (), should be 5 4 3 2 1
- fold-right-006: expected ., should be 1.2.3.4.5.
- fold-right-007: expected ., should be <out>$f(1, $f(2, $f(3, $f(4, $f(5,
$zero)))))</out>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 16 May 2011 14:15:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:12 GMT