W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2009

html5/spec Overview.html,1.2114,1.2115

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 01 Apr 2009 01:54:53 +0000
To: public-html-commits@w3.org
Message-Id: <E1LopfJ-0003Nx-Qd@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv12995

Modified Files:
	Overview.html 
Log Message:
Clarify that you can't have two encoding decls. (credit: sp) (bug 6614) (whatwg r2952)

Index: Overview.html
===================================================================
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 Wednesday, 1 April 2009 01:55:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 April 2009 01:55:03 GMT