[Bug 3731] version declaration after comment

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

           Summary: version declaration after comment
           Product: XML Query Test Suite
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: per@bothner.com
         QAContact: public-qt-comments@w3.org


version_declaration-001.xq is marked as <expected-error>*</expected-error>. 
Since I cannot see anything else wrong with the query, I'm assuming this si
because there is a comment before the version declaratiion.  This implies that
an XQuery implementation is rquired to reject a version declaration that
follows a comment. But the Specification [4.1] says:  "If such a Comment
[before the end of the version declaration] is present, the result is
implementation-dependent." That to me seems to say that an implementation is
*not* requiredto reject this query.

I guess I'm asking for guidance here.  Does what does
<expected-error>*</expected-error> mean in this context?

The same applies to version_declaration-002, version_declaration-003,
version_declaration-004, and version_declaration-005.

Received on Friday, 15 September 2006 13:55:42 UTC