HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2859[Conformance Checkers] Allow <meta charset='utf-8'> in XML. (bug 6613)2009-02-23 12:14
@@ -9445,21 +9445,21 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
    <dd>If the <code title="attr-meta-http-equiv">http-equiv</code> attribute is present, and the element is not in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>head</code> element.</dd>
    <dd>If the <code title="attr-meta-http-equiv">http-equiv</code> attribute is present, and the element is not in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>
    <dd>If the <code title="attr-meta-name">name</code> attribute is present: where <span>metadata content</span> is expected.</dd>
    <dt>Content model:</dt>
    <dd>Empty.</dd>
    <dt>Content attributes:</dt>
    <dd><span>Global attributes</span></dd>
    <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> {
            attribute DOMString <span title="dom-meta-content">content</span>;
            attribute DOMString <span title="dom-meta-name">name</span>;
            attribute DOMString <span title="dom-meta-httpEquiv">httpEquiv</span>;
 };</pre>
    </dd>
   </dl>
 
@@ -9483,27 +9483,27 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
   specified.</p>
 
   <p>If either <code title="attr-meta-name">name</code> or <code
   title="attr-meta-http-equiv">http-equiv</code> is specified, then
   the <code title="attr-meta-content">content</code> attribute must
   also be specified. Otherwise, it must be omitted.</p>
 
   <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
   directive when the element is used for those purposes. The allowed
   values depend on the exact context, as described in subsequent
   sections of this specification.</p>
 
   <p>If a <code>meta</code> element has a <dfn
   title="attr-meta-name"><code>name</code></dfn> attribute, it sets
   document metadata. Document metadata is expressed in terms of

|