Bug 18446 - [XQ30] conformance requirements for error codes
Summary: [XQ30] conformance requirements for error codes
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2012-07-31 08:23 UTC by Michael Kay
Modified: 2013-06-19 09:28 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kay 2012-07-31 08:23:48 UTC
In discussing the test suite at the Montreal F2F we decided that implementations are allowed to report a test pass when they raise an error different from the error code expected by the test.

If conformant products are allowed to return different error codes from those in the specification then we should mention this in the conformance section of the specification[s].
Comment 1 Jonathan Robie 2012-10-02 16:56:58 UTC
We like having the error codes in the test suite. You should be able to pass the tests, however, with different errors. The test suite does not test conformance.

No change will be made to the specifications. We define correct expressions and conditions, and provide error codes to report. The choice of error codes to report for a particular faulty query may vary from implementation to implementation.