Re: encoding: not always required

* Neil Zanella wrote:
>I have a document encoded in ASCII (a subset of UTF-8).
>The XML 1.0 specification states:
>
>It is also a fatal error if an XML entity contains no encoding declaration 
>and its content is not legal UTF-8 or UTF-16.
>
>However, the validator should therefore validate correctly XHTML documents
>starting with <?xml version="1.0"?> followed by a proper XHTML 1.0 DTD
>followed by the actual content.
>
>However the validator.w3.org program insisted that I ought to specify it,
>but that's not what the XML standard says, right?

http://validator.w3.org/check?uri=http://www.bjoernsworld.de/temp/foo3.xml

Received on Thursday, 26 June 2003 08:14:03 UTC