Re: Names beginning with "xml"

Liam R E Quin quotavit:

> This specification does not give meaning to any value of xml:space
> other than "default" and "preserve". It is an error for other values
> to be specified; the XML processor may report the error or may
> recover by ignoring the attribute specification or by reporting the
> (erroneous) value to the application. Applications may ignore or
> reject erroneous values.

And that makes a document with xml:space="funky" well-formed, because
the only requirements for being a well-formed document are:

    Taken as a whole, it matches the production labeled document.

    It meets all the well-formedness constraints given in this
    specification.

    Each of the parsed entities which is referenced directly or
    indirectly within the document is well-formed.

Since the above quotation is not a well-formedness constraint, violating
it does not make a document not well-formed.

-- 
Is not a patron, my Lord [Chesterfield],        John Cowan
one who looks with unconcern on a man           http://www.ccil.org/~cowan
struggling for life in the water, and when      cowan@ccil.org
he has reached ground encumbers him with help?
        --Samuel Johnson

Received on Thursday, 16 August 2012 21:15:24 UTC