Permalink
Browse files

[c] (0) Allow <meta charset='utf-8'> in XML. (bug 6613)

git-svn-id: http://svn.whatwg.org/webapps@2859 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 0e2ab49 commit b609571fb968be455d07d3f8709216dd11fc7244 @Hixie Hixie committed Feb 23, 2009
Showing with 15 additions and 15 deletions.
  1. +7 −7 index
  2. +8 −8 source
View
14 index
@@ -9115,7 +9115,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<dd><code title=attr-meta-name><a href=#attr-meta-name>name</a></code></dd>
<dd><code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code></dd>
<dd><code title=attr-meta-content><a href=#attr-meta-content>content</a></code></dd>
- <dd><code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> (<a href=#html-documents title="HTML documents">HTML</a> only)</dd>
+ <dd><code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code></dd>
<dt>DOM interface:</dt>
<dd>
<pre class=idl>interface <dfn id=htmlmetaelement>HTMLMetaElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
@@ -9147,12 +9147,12 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<p>The <dfn id=attr-meta-charset title=attr-meta-charset><code>charset</code></dfn>
attribute specifies the character encoding used by the
document. This is called a <a href=#character-encoding-declaration>character encoding
- declaration</a>.</p>
-
- <p>The <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute may
- be specified in <a href=#html5 title=HTML5>HTML documents</a> only, it
- must not be used in <a href=#xhtml5 title=XHTML>XML documents</a>. There
- must not be more than one element with a <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute per document.</p>
+ declaration</a>. There must not be more than one element with a
+ <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute per
+ document. If the attribute is present in an <a href=#xhtml5 title=XHTML>XML
+ document</a>, its value must be an <a href=#ascii-case-insensitive>ASCII
+ case-insensitive</a> match for the string "<code title="">UTF-8</code>", and the resource must be encoded using the
+ UTF-8 character encoding.</p>
<p>The <dfn id=attr-meta-content title=attr-meta-content><code>content</code></dfn>
attribute gives the value of the document metadata or pragma
View
16 source
@@ -9452,7 +9452,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<dd><code title="attr-meta-name">name</code></dd>
<dd><code title="attr-meta-http-equiv">http-equiv</code></dd>
<dd><code title="attr-meta-content">content</code></dd>
- <dd><code title="attr-meta-charset">charset</code> (<span title="HTML documents">HTML</span> only)</dd>
+ <dd><code title="attr-meta-charset">charset</code></dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLMetaElement</dfn> : <span>HTMLElement</span> {
@@ -9490,13 +9490,13 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<p>The <dfn title="attr-meta-charset"><code>charset</code></dfn>
attribute specifies the character encoding used by the
document. This is called a <span>character encoding
- declaration</span>.</p>
-
- <p>The <code title="attr-meta-charset">charset</code> attribute may
- be specified in <span title="HTML5">HTML documents</span> only, it
- must not be used in <span title="XHTML">XML documents</span>. There
- must not be more than one element with a <code
- title="attr-meta-charset">charset</code> attribute per document.</p>
+ declaration</span>. There must not be more than one element with a
+ <code title="attr-meta-charset">charset</code> attribute per
+ document. If the attribute is present in an <span title="XHTML">XML
+ document</span>, its value must be an <span>ASCII
+ case-insensitive</span> match for the string "<code
+ title="">UTF-8</code>", and the resource must be encoded using the
+ UTF-8 character encoding.</p>
<p>The <dfn title="attr-meta-content"><code>content</code></dfn>
attribute gives the value of the document metadata or pragma

0 comments on commit b609571

Please sign in to comment.