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 6954 - [XQTS] Expected results for XQuery 1.1 tests
Summary: [XQTS] Expected results for XQuery 1.1 tests
Status: CLOSED 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: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 11:08 UTC by Oliver Hallam
Modified: 2009-11-09 12:04 UTC (History)
1 user (show)

See Also:


Attachments

Description Oliver Hallam 2009-05-26 11:08:45 UTC
The recently added tests for XQuery 1.1 (in particular the hof-*) tests give XPST0003 as the expected error for an XQuery 1.0 implementation.

I believe this should be XQST0031.
Comment 1 Michael Kay 2009-05-26 11:39:27 UTC
Yes, that's certainly an acceptable error as well.

(My implementation is actually reporting XQST0031 when it sees the version declaration, and XPST0003 when it subsequently sees the unrecognized 1.0 syntax, and the error that's used for comparing results is always the last one reported. So I think XPST0003 is an acceptable error as well.)
Comment 2 Michael Kay 2009-05-26 11:45:19 UTC
Added additional error code to the HOF tests.
Comment 3 Oliver Hallam 2009-05-27 13:12:06 UTC
All the tests now pass, except for hof-910, which it seems you missed when adding the alternative error.
Comment 4 Michael Kay 2009-10-18 22:25:11 UTC
Fixed catalog entry for hof-910