- From: <bugzilla@jessica.w3.org>
- Date: Mon, 21 Jun 2010 08:00:06 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9970
Summary: The XML declaration is suggested for polyglot
documents
Product: HTML WG
Version: unspecified
Platform: All
URL: http://dev.w3.org/html5/html-xhtml-author-guide/html-x
html-authoring-guide.html#character-encoding
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
Graff)
AssignedTo: eliotgra@microsoft.com
ReportedBy: hsivonen@iki.fi
QAContact: public-html-bugzilla@w3.org
CC: mike@w3.org, public-html@w3.org,
eliotgra@microsoft.com
Polyglot Markup: HTML-Compatible XHTML Documents (18 June 2010) says:
"Use both the XML Declaration and meta tag to specify the appropriate character
encoding."
This is wrong. The syntax of an XML Declaration is a parse error (and parses as
a bogus comment) in text/html. Therefore, document that has an XML declaration
cannot be a polyglot document.
Please remove the suggestion to use an XML declaration and instead explicitly
state that polyglot documents can't have an XML declaration.
Note that in the absence of a BOM, an XML declaration or transport-layer
encoding declaration, XML defaults to UTF-8 anyway.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 21 June 2010 08:00:10 UTC