- From: <bugzilla@jessica.w3.org>
- Date: Mon, 02 Jan 2012 17:02:23 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15390 Summary: Serialization tests too liberal about errors Product: XPath / XQuery / XSLT Version: Member-only Editors Drafts Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: XQuery 3 & XPath 3 Test Suite AssignedTo: benjie.nguyen@gmail.com ReportedBy: mike@saxonica.com QAContact: public-qt-comments@w3.org Serialization tests Serialization-008 to -025 test the effect of supplying invalid values for serialization parameters, and they generally allow the error to be either reported or ignored. To justify this they cite the phrase from the serialization spec: "It is the responsibility of the host language to specify how invalid values should be handled at the level of that language". This delegates the responsibility to the host language. In the case of XQuery, we read: "A processor that is performing serialization must report a serialization error if the values of any serialization parameters (other than any that are ignored under the previous paragraph) are incorrect." (The "previous paragraph" allows invalid parameters to be ignored if they are inapplicable to the chosen output method, which does not apply to these tests). So I think it is incorrect to accept serialized output as a valid result from these tests. The error is mandatory. -- Configure bugmail: https://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 Monday, 2 January 2012 17:04:28 UTC