This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7647 - Tests K-GenCompEq-60 et seq
Summary: Tests K-GenCompEq-60 et seq
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Sorin Nasoi
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 10:38 UTC by Michael Kay
Modified: 2009-10-28 10:21 UTC (History)
3 users (show)

See Also:


Attachments

Description Michael Kay 2009-09-16 10:38:46 UTC
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.
Comment 1 Frans Englich 2009-10-13 14:46:06 UTC
Another thing: feel free to not prefix tests with K- or K2-, those are tests originating from KDE(or me, to be specific).


Frans
Comment 2 Sorin Nasoi 2009-10-28 10:21:26 UTC
Just made a commit to fix both reported problems (related to the content and also the name of the tests).