W3C home > Mailing lists > Public > www-validator@w3.org > June 2003

Re: encoding: not always required

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 26 Jun 2003 14:13:48 +0200
To: Neil Zanella <nzanella@cs.mun.ca>
Cc: www-validator@w3.org
Message-ID: <3f09e310.109056314@smtp.bjoern.hoehrmann.de>

* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT