W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2009

spec/Overview.html 1.2030 2859 Allow <meta charset='utf-8'> in XML. (bu

From: poot <cvsmail@w3.org>
Date: Mon, 23 Feb 2009 21:18:13 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090223121814.149132BC4A@toro.w3.mag.keio.ac.jp>
Allow <meta charset='utf-8'> in XML. (bug 6613) (whatwg r2859)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6613

4.2.5 The meta element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2030.html#meta
content
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2030.html#attr-meta-content
charset
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2030.html#attr-meta-charset
HTMLMetaElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2030.html#htmlmetaelement

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2029&r2=1.2030&f=h
http://html5.org/tools/web-apps-tracker?from=2858&to=2859

===================================================================
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:18:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:58 GMT