W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2009

[Bug 7647] New: Tests K-GenCompEq-60 et seq

From: <bugzilla@wiggum.w3.org>
Date: Wed, 16 Sep 2009 10:38:46 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-7647-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7647

           Summary: Tests K-GenCompEq-60 et seq
           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: andrew.eisenberg@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The newly committed tests K-GenCompEq-60 to K-GenCompEq-68 are apparently
designed to test resolution of bug 5223. The naming of the tests and their
intended purpose suggests that they should be using the "=" operator rather
than "eq". As currently written, they produce type errors (XPTY0004).

Furthermore, none of the tests (after this change is made) actually tests
whether or not the implementation has fixed bug 5223. An example of a proper
test for this situation would be

xs:untypedAtomic("1") = xs:NCName("Sorin")

where casting the untyped atomic value to the base type of the other operand
(xs:string) would succeed, but casting it to the actual type of the other
operand (xs:NCName) would fail.


-- 
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 Wednesday, 16 September 2009 10:38:59 GMT

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