W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2006

[Bug 4024] ST-WhereExpr001 should not be expected to fail?

From: <bugzilla@wiggum.w3.org>
Date: Tue, 28 Nov 2006 07:27:24 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GoxNE-0007Cj-B9@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4024

           Summary: ST-WhereExpr001 should not be expected to fail?
           Product: XML Query Test Suite
           Version: 1.0.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: per@bothner.com
         QAContact: public-qt-comments@w3.org


ST-WhereExpr001 is described as "Test 'where' clause with heterogenous
sequences. First item is a node."  The XQTSCatalog.xml says this is expected to
fail with FORG0006.  But the specification says we take the Effective boolean
value of the value of the order expression, and "2.4.3 Effective Boolean Value"
says:
"If [the operand of fn:boolean] is a sequence whose first item is a node,
fn:boolean returns true."  So I don't see why the testcase shoudl fail.

Perhaps a cut-and-paste error or similar confusion?  ST-WhereExpr001 is the
same, except that the first item if the sequence is "value" [sic], such
*should* be an error.
Received on Tuesday, 28 November 2006 07:27:32 UTC

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