spec/Overview.html 1.2115 2952 Clarify that you can't have two encoding

Clarify that you can't have two encoding decls. (credit: sp) (bug 6614)
(whatwg r2952)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6614

The element containing the character encoding declaration must be serialised completely within the first 512 bytes of the document.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2115.html#charset512

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2114&r2=1.2115&f=h
http://html5.org/tools/web-apps-tracker?from=2951&to=2952

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2114
retrieving revision 1.2115
diff -u -d -r1.2114 -r1.2115
--- Overview.html 1 Apr 2009 01:49:33 -0000 1.2114
+++ Overview.html 1 Apr 2009 01:54:50 -0000 1.2115
@@ -9472,6 +9472,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

Received on Thursday, 2 April 2009 03:37:55 UTC