Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Clarify that you can't have two encoding decls. (credit: sp) …
…(bug 6614)

git-svn-id: http://svn.whatwg.org/webapps@2952 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 1, 2009
1 parent d31b7c4 commit 95136dd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index
Expand Up @@ -10659,6 +10659,13 @@ people expect to have work and what is necessary.
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
Expand Down
7 changes: 7 additions & 0 deletions source
Expand Up @@ -11279,6 +11279,13 @@ people expect to have work and what is necessary.
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
Expand Down

0 comments on commit 95136dd

Please sign in to comment.