[XQuery] A.1.1 Grammar Notes: xml-version

XQuery 1.0: An XML Query Language
W3C Working Draft 12 November 2003

A.1.1 Grammar Notes
grammar-note: xml-version

"The general rules for [XML 1.1] vs. [XML 1.0], as described in the A.2
Lexical structure section, should be applied to this production."

    The phrase "general rules" is vague, and doesn't connect well with
    A.2, which doesn't present rules in its discussion of XML versions.
    Also, "should be applied to this production" is vague.  How about:

        An implementation's choice to support the XML 1.0 or 1.1
        character set determines the external document from which 
        to obtain the definition for this production.

    But where are the (external) definitions of NCName and QName for
    XML 1.1 documents?

    Also, XML 1.0 and 1.1 have the same definition for S, so the
    gn: xml-version annotation doesn't apply to [11] S.

-Michael Dyck

Received on Sunday, 15 February 2004 20:48:45 UTC