html5/spec Overview.html,1.2029,1.2030

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3156

Modified Files:
	Overview.html 
Log Message:
Allow <meta charset='utf-8'> in XML. (bug 6613) (whatwg r2859)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2029
retrieving revision 1.2030
diff -u -d -r1.2029 -r1.2030
--- Overview.html	23 Feb 2009 12:12:27 -0000	1.2029
+++ Overview.html	23 Feb 2009 12:14:43 -0000	1.2030
@@ -7473,7 +7473,7 @@
    <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> {
@@ -7497,10 +7497,12 @@
   also be specified. Otherwise, it must be omitted.<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>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>The <dfn id=attr-meta-content title=attr-meta-content><code>content</code></dfn>
+  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>The <dfn id=attr-meta-content 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

Received on Monday, 23 February 2009 12:14:55 UTC