[html5] r2952 - [e] (0) Clarify that you can't have two encoding decls. (credit: sp) (bug 6614)

whatwg at whatwg.org whatwg at whatwg.org
Tue Mar 31 18:54:47 PDT 2009


Author: ianh
Date: 2009-03-31 18:54:45 -0700 (Tue, 31 Mar 2009)
New Revision: 2952

Modified:
   index
   source
Log:
[e] (0) Clarify that you can't have two encoding decls. (credit: sp) (bug 6614)

Modified: index
===================================================================
--- index	2009-04-01 01:49:28 UTC (rev 2951)
+++ index	2009-04-01 01:54:45 UTC (rev 2952)
@@ -10659,6 +10659,13 @@
    declaration must be serialised completely within the first 512
    bytes of the document.</li>
 
+   <li>There can only be one character encoding declaration in the
+   document. <!-- conformance critiera for this one are given in
+   the XML spec, the <meta> section just after defining charset="",
+   and the character encoding pragma section. And actually this
+   statement isn't quite true, since you can have an XML one and an
+   HTML one at the same time if they match. -->
+
   </ul><p>If an <a href=#html-documents title="HTML documents">HTML document</a> does not
   start with a BOM, and if its encoding is not explicitly given by
   <a href=#content-type-0 title=Content-Type>Content-Type metadata</a>, then the

Modified: source
===================================================================
--- source	2009-04-01 01:49:28 UTC (rev 2951)
+++ source	2009-04-01 01:54:45 UTC (rev 2952)
@@ -11279,6 +11279,13 @@
    declaration must be serialised completely within the first 512
    bytes of the document.</li>
 
+   <li>There can only be one character encoding declaration in the
+   document.</p> <!-- conformance critiera for this one are given in
+   the XML spec, the <meta> section just after defining charset="",
+   and the character encoding pragma section. And actually this
+   statement isn't quite true, since you can have an XML one and an
+   HTML one at the same time if they match. -->
+
   </ul>
 
   <p>If an <span title="HTML documents">HTML document</span> does not




More information about the Commit-Watchers mailing list