RE: Including a 1.1 entity in a 1.0 document

 

> -----Original Message-----
> From: public-xml-core-wg-request@w3.org 
> [mailto:public-xml-core-wg-request@w3.org] On Behalf Of Norman Walsh
> Sent: Monday, 2006 July 17 13:07
> To: public-xml-core-wg@w3.org
> Subject: Re: Including a 1.1 entity in a 1.0 document
> 
> / John Cowan <cowan@ccil.org> was heard to say:
> | In that case, the Third Edition of XML 1.0 would control, 
> which specifies
> | that the text declaration of the external entity MUST 
> specify version 1.0.
> | So it's a well-formedness error.
> 
> Where do we say that an incorrect version is a WF error?
> 

If there is an XMLDecl, the VersionInfo is required and
the VersionNum [1] is the string '1.0' (per the 3rd Ed).

A document is well-formed [2] if:

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

. . .

paul

[1] http://www.w3.org/TR/REC-xml/#NT-VersionNum
[2] http://www.w3.org/TR/REC-xml/#dt-wellformed

Received on Monday, 17 July 2006 18:17:07 UTC