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 2427 - ForExprType047 error code is wrong
Summary: ForExprType047 error code is wrong
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Mike Rorke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-02 12:01 UTC by Michael Kay
Modified: 2005-11-04 18:58 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-11-02 12:01:06 UTC
ForExprType047 should raise XPST0051, not XPTY0004. xs:NMTOKENS is not an atomic
type.

Also, the comment describing this test in the catalog bears no relationship to
what the test actually does.
Comment 1 Michael Kay 2005-11-02 12:11:47 UTC
Conversely, ForExprType061 should raise XPTY0004, not XPST0051. There is no
QName in this SequenceType that is being used as an atomic type; in fact the
error in this test cannot possibly be detected statically.