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
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" />





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

Received on Monday, 8 August 2005 18:55:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:24 UTC