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?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:37 UTC