W3C home > Mailing lists > Public > www-qa@w3.org > August 2005

Content type in documents with no XML declaration

From: Pid <webmaster@neutralgrey.net>
Date: Mon, 08 Aug 2005 19:55:11 +0100
Message-ID: <42F7AA8F.30500@neutralgrey.net>
To: www-qa@w3.org

Frequently, I don't put the XML declaration at the beginning of XHTML
documents.
According to appendix C1 of the XHTML 1.0 Strict spec, I may only use
the two UTF character sets, 8 & 16, if I omit the XML declaration.

Does this mean that a document that declares a different content type,
using a meta tag (as below) is not valid?

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />



Cheers,

Pid




-- 


pid@neutralgrey.net

ng m: (+44|0)7976 411939
ng w: www.neutralgrey.net

-----------------------------------------------------------------------
Received on Monday, 8 August 2005 18:55:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 12:14:01 GMT