[Bug 8500] New: Priority of validation errors

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8500

           Summary: Priority of validation errors
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: nick@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Looking at validateexpr-26:

validate { document { <a/>, <b/> } }

The error XQDY0061 (document node whose children do not consist of exactly one
element node ) is expected.

I think it is unclear in the spec whether XQDY0027 (root element information
item in the PSVI resulting from validation does not have the expected validity
property) might also permitted.

Are the validate rules expected to be followed in order, and errors thrown with
precedence from the order listed? If not, could the second error be added.

When streaming results being able to throw the XQDY0027 error is preferable as
it would be known before the XQDY0061 error.


-- 
Configure bugmail: http://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 Tuesday, 15 December 2009 16:18:14 UTC