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

[Bug 9970] New: The XML declaration is suggested for polyglot documents

From: <bugzilla@jessica.w3.org>
Date: Mon, 21 Jun 2010 08:00:06 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9970-2486@http.www.w3.org/Bugs/Public/>

           Summary: The XML declaration is suggested for polyglot
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/html-xhtml-author-guide/html-x
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org,

Polyglot Markup: HTML-Compatible XHTML Documents (18 June 2010) says:
"Use both the XML Declaration and meta tag to specify the appropriate character

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:51 UTC