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

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 UTC