W3C home > Mailing lists > Public > public-html@w3.org > September 2010

[Polyglot] Encoding Declaration State

From: Eliot Graff <eliotgra@microsoft.com>
Date: Wed, 29 Sep 2010 22:57:05 +0000
To: "public-html@w3.org" <public-html@w3.org>
Message-ID: <CE3A5BFD1228D84A8D9C158EEC195FD50EBB3D73@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com>
The Encoding declaration state (http-equiv="content-type") section of HTML5 says this [1]:

]]
The Encoding declaration state may be used in HTML documents, but elements with an http-equiv attribute in that state must not be used in XML documents.
[[

Is it correct that it must not be used in XML, and should that ban on the Encoding declaration state therefore be added to the Character Encoding section in the polyglot spec? [2]

Thanks,

Eliot

[1] http://www.w3.org/TR/2010/WD-html5-20100304/semantics.html#attr-meta-http-equiv-content-type
[2] http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html#character-encoding 
Received on Wednesday, 29 September 2010 22:57:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:19 UTC