[html5] r4370 - [ac] (0) Allow encodings to be given case-insensitively. Fixing http://www.w3.or [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 27 13:40:53 PDT 2009


Author: ianh
Date: 2009-10-27 13:40:49 -0700 (Tue, 27 Oct 2009)
New Revision: 4370

Modified:
   complete.html
   index
   source
Log:
[ac] (0) Allow encodings to be given case-insensitively.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8090

Modified: complete.html
===================================================================
--- complete.html	2009-10-27 20:35:56 UTC (rev 4369)
+++ complete.html	2009-10-27 20:40:49 UTC (rev 4370)
@@ -2057,7 +2057,7 @@
   <p>The <dfn id=preferred-mime-name>preferred MIME name</dfn> of a character encoding is the
   name or alias labeled as "preferred MIME name" in the IANA
   <cite>Character Sets</cite> registry, if there is one, or the
-  encoding's name, if none of the aliases are so labeled.  <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+  encoding's name, if none of the aliases are so labeled. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
 
   <p>An <dfn id=ascii-compatible-character-encoding>ASCII-compatible character encoding</dfn> is a
   single-byte or variable-length encoding in which the bytes 0x09,
@@ -11851,7 +11851,8 @@
    character encoding used to serialize the file.</li>
 
    <li>The value must be a valid character encoding name, and must be
-   the <a href=#preferred-mime-name>preferred MIME name</a> for that encoding. <a href=#refsIANACHARSET>[IANACHARSET]</a></li>
+   an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
+   <a href=#preferred-mime-name>preferred MIME name</a> for that encoding. <a href=#refsIANACHARSET>[IANACHARSET]</a></li>
 
    <li>The character encoding declaration must be serialized without
    the use of <a href=#syntax-charref title=syntax-charref>character references</a>
@@ -12385,10 +12386,11 @@
   attribute gives the character encoding of the external script
   resource. The attribute must not be specified if the <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute is not present. If the
   attribute is set, its value must be a valid character encoding name,
-  must be the <a href=#preferred-mime-name>preferred MIME name</a> for that encoding, and
-  must match the encoding given in the <code title="">charset</code>
-  parameter of the <a href=#content-type title=Content-Type>Content-Type
-  metadata</a> of the external file, if any. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+  must be an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
+  <a href=#preferred-mime-name>preferred MIME name</a> for that encoding, and must match
+  the encoding given in the <code title="">charset</code> parameter of
+  the <a href=#content-type title=Content-Type>Content-Type metadata</a> of the
+  external file, if any. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
 
   <p>The <dfn id=attr-script-async title=attr-script-async><code>async</code></dfn> and
   <dfn id=attr-script-defer title=attr-script-defer><code>defer</code></dfn> attributes
@@ -31006,9 +31008,10 @@
   <p>The <dfn id=attr-form-accept-charset title=attr-form-accept-charset><code>accept-charset</code></dfn>
   attribute gives the character encodings that are to be used for the
   submission. If specified, the value must be an <a href=#ordered-set-of-unique-space-separated-tokens>ordered set of
-  unique space-separated tokens</a>, and each token must be the
-  <a href=#preferred-mime-name>preferred MIME name</a> of an <a href=#ascii-compatible-character-encoding>ASCII-compatible
-  character encoding</a>. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+  unique space-separated tokens</a>, and each token must be an
+  <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the <a href=#preferred-mime-name>preferred
+  MIME name</a> of an <a href=#ascii-compatible-character-encoding>ASCII-compatible character
+  encoding</a>. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
 
   <p>The <dfn id=attr-form-name title=attr-form-name><code>name</code></dfn> attribute
   represents the <code><a href=#the-form-element>form</a></code>'s name within the <code title=dom-document-forms><a href=#dom-document-forms>forms</a></code> collection. The value must
@@ -83555,7 +83558,8 @@
       declaration">character encoding declarations</a> in the
       document. The parameter's value must be the name of the
       character encoding used to serialize the file, must be a valid
-      character encoding name, and must be the <a href=#preferred-mime-name>preferred MIME
+      character encoding name, and must be an <a href=#ascii-case-insensitive>ASCII
+      case-insensitive</a> match for the <a href=#preferred-mime-name>preferred MIME
       name</a> for that encoding. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
      </dd>
     </dl></dd>
@@ -85042,7 +85046,7 @@
     <tr><th> <code title="">accept-charset</code>
      <td> <code title=attr-form-accept-charset><a href=#attr-form-accept-charset>form</a></code>
      <td> Character encodings to use for <a href=#form-submission>form submission</a>
-     <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a> consisting of <a href=#preferred-mime-name title="preferred MIME name">preferred MIME names</a> of <a href=#ascii-compatible-character-encoding title="ASCII-compatible character encoding">ASCII-compatible character encodings</a>
+     <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a> consisting of <a href=#preferred-mime-name title="preferred MIME name">preferred MIME names</a> of <a href=#ascii-compatible-character-encoding title="ASCII-compatible character encoding">ASCII-compatible character encodings</a>*
     <tr><th> <code title="">accesskey</code>
      <td> <a href=#the-accesskey-attribute title=attr-accesskey>HTML elements</a>
      <td> Keyboard shortcut to activate or focus element

Modified: index
===================================================================
--- index	2009-10-27 20:35:56 UTC (rev 4369)
+++ index	2009-10-27 20:40:49 UTC (rev 4370)
@@ -1875,7 +1875,7 @@
   <p>The <dfn id=preferred-mime-name>preferred MIME name</dfn> of a character encoding is the
   name or alias labeled as "preferred MIME name" in the IANA
   <cite>Character Sets</cite> registry, if there is one, or the
-  encoding's name, if none of the aliases are so labeled.  <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+  encoding's name, if none of the aliases are so labeled. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
 
   <p>An <dfn id=ascii-compatible-character-encoding>ASCII-compatible character encoding</dfn> is a
   single-byte or variable-length encoding in which the bytes 0x09,
@@ -11669,7 +11669,8 @@
    character encoding used to serialize the file.</li>
 
    <li>The value must be a valid character encoding name, and must be
-   the <a href=#preferred-mime-name>preferred MIME name</a> for that encoding. <a href=#refsIANACHARSET>[IANACHARSET]</a></li>
+   an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
+   <a href=#preferred-mime-name>preferred MIME name</a> for that encoding. <a href=#refsIANACHARSET>[IANACHARSET]</a></li>
 
    <li>The character encoding declaration must be serialized without
    the use of <a href=#syntax-charref title=syntax-charref>character references</a>
@@ -12203,10 +12204,11 @@
   attribute gives the character encoding of the external script
   resource. The attribute must not be specified if the <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute is not present. If the
   attribute is set, its value must be a valid character encoding name,
-  must be the <a href=#preferred-mime-name>preferred MIME name</a> for that encoding, and
-  must match the encoding given in the <code title="">charset</code>
-  parameter of the <a href=#content-type title=Content-Type>Content-Type
-  metadata</a> of the external file, if any. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+  must be an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
+  <a href=#preferred-mime-name>preferred MIME name</a> for that encoding, and must match
+  the encoding given in the <code title="">charset</code> parameter of
+  the <a href=#content-type title=Content-Type>Content-Type metadata</a> of the
+  external file, if any. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
 
   <p>The <dfn id=attr-script-async title=attr-script-async><code>async</code></dfn> and
   <dfn id=attr-script-defer title=attr-script-defer><code>defer</code></dfn> attributes
@@ -30824,9 +30826,10 @@
   <p>The <dfn id=attr-form-accept-charset title=attr-form-accept-charset><code>accept-charset</code></dfn>
   attribute gives the character encodings that are to be used for the
   submission. If specified, the value must be an <a href=#ordered-set-of-unique-space-separated-tokens>ordered set of
-  unique space-separated tokens</a>, and each token must be the
-  <a href=#preferred-mime-name>preferred MIME name</a> of an <a href=#ascii-compatible-character-encoding>ASCII-compatible
-  character encoding</a>. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+  unique space-separated tokens</a>, and each token must be an
+  <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the <a href=#preferred-mime-name>preferred
+  MIME name</a> of an <a href=#ascii-compatible-character-encoding>ASCII-compatible character
+  encoding</a>. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
 
   <p>The <dfn id=attr-form-name title=attr-form-name><code>name</code></dfn> attribute
   represents the <code><a href=#the-form-element>form</a></code>'s name within the <code title=dom-document-forms><a href=#dom-document-forms>forms</a></code> collection. The value must
@@ -74526,7 +74529,8 @@
       declaration">character encoding declarations</a> in the
       document. The parameter's value must be the name of the
       character encoding used to serialize the file, must be a valid
-      character encoding name, and must be the <a href=#preferred-mime-name>preferred MIME
+      character encoding name, and must be an <a href=#ascii-case-insensitive>ASCII
+      case-insensitive</a> match for the <a href=#preferred-mime-name>preferred MIME
       name</a> for that encoding. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
      </dd>
     </dl></dd>
@@ -76013,7 +76017,7 @@
     <tr><th> <code title="">accept-charset</code>
      <td> <code title=attr-form-accept-charset><a href=#attr-form-accept-charset>form</a></code>
      <td> Character encodings to use for <a href=#form-submission>form submission</a>
-     <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a> consisting of <a href=#preferred-mime-name title="preferred MIME name">preferred MIME names</a> of <a href=#ascii-compatible-character-encoding title="ASCII-compatible character encoding">ASCII-compatible character encodings</a>
+     <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a> consisting of <a href=#preferred-mime-name title="preferred MIME name">preferred MIME names</a> of <a href=#ascii-compatible-character-encoding title="ASCII-compatible character encoding">ASCII-compatible character encodings</a>*
     <tr><th> <code title="">accesskey</code>
      <td> <a href=#the-accesskey-attribute title=attr-accesskey>HTML elements</a>
      <td> Keyboard shortcut to activate or focus element

Modified: source
===================================================================
--- source	2009-10-27 20:35:56 UTC (rev 4369)
+++ source	2009-10-27 20:40:49 UTC (rev 4370)
@@ -888,7 +888,7 @@
   <p>The <dfn>preferred MIME name</dfn> of a character encoding is the
   name or alias labeled as "preferred MIME name" in the IANA
   <cite>Character Sets</cite> registry, if there is one, or the
-  encoding's name, if none of the aliases are so labeled.  <a
+  encoding's name, if none of the aliases are so labeled. <a
   href="#refsIANACHARSET">[IANACHARSET]</a></p>
 
   <p>An <dfn>ASCII-compatible character encoding</dfn> is a
@@ -12330,7 +12330,8 @@
    character encoding used to serialize the file.</li>
 
    <li>The value must be a valid character encoding name, and must be
-   the <span>preferred MIME name</span> for that encoding. <a
+   an <span>ASCII case-insensitive</span> match for the
+   <span>preferred MIME name</span> for that encoding. <a
    href="#refsIANACHARSET">[IANACHARSET]</a></li>
 
    <li>The character encoding declaration must be serialized without
@@ -12921,10 +12922,11 @@
   resource. The attribute must not be specified if the <code
   title="attr-script-src">src</code> attribute is not present. If the
   attribute is set, its value must be a valid character encoding name,
-  must be the <span>preferred MIME name</span> for that encoding, and
-  must match the encoding given in the <code title="">charset</code>
-  parameter of the <span title="Content-Type">Content-Type
-  metadata</span> of the external file, if any. <a
+  must be an <span>ASCII case-insensitive</span> match for the
+  <span>preferred MIME name</span> for that encoding, and must match
+  the encoding given in the <code title="">charset</code> parameter of
+  the <span title="Content-Type">Content-Type metadata</span> of the
+  external file, if any. <a
   href="#refsIANACHARSET">[IANACHARSET]</a></p>
 
   <p>The <dfn title="attr-script-async"><code>async</code></dfn> and
@@ -34160,10 +34162,10 @@
   title="attr-form-accept-charset"><code>accept-charset</code></dfn>
   attribute gives the character encodings that are to be used for the
   submission. If specified, the value must be an <span>ordered set of
-  unique space-separated tokens</span>, and each token must be the
-  <span>preferred MIME name</span> of an <span>ASCII-compatible
-  character encoding</span>. <a
-  href="#refsIANACHARSET">[IANACHARSET]</a></p>
+  unique space-separated tokens</span>, and each token must be an
+  <span>ASCII case-insensitive</span> match for the <span>preferred
+  MIME name</span> of an <span>ASCII-compatible character
+  encoding</span>. <a href="#refsIANACHARSET">[IANACHARSET]</a></p>
 
   <p>The <dfn title="attr-form-name"><code>name</code></dfn> attribute
   represents the <code>form</code>'s name within the <code
@@ -91840,7 +91842,8 @@
       declaration">character encoding declarations</span> in the
       document. The parameter's value must be the name of the
       character encoding used to serialize the file, must be a valid
-      character encoding name, and must be the <span>preferred MIME
+      character encoding name, and must be an <span>ASCII
+      case-insensitive</span> match for the <span>preferred MIME
       name</span> for that encoding. <a
       href="#refsIANACHARSET">[IANACHARSET]</a></p>
      </dd>
@@ -93670,7 +93673,7 @@
      <th> <code title="">accept-charset</code>
      <td> <code title="attr-form-accept-charset">form</code>
      <td> Character encodings to use for <span>form submission</span>
-     <td> <span>Ordered set of unique space-separated tokens</span> consisting of <span title="preferred MIME name">preferred MIME names</span> of <span title="ASCII-compatible character encoding">ASCII-compatible character encodings</span>
+     <td> <span>Ordered set of unique space-separated tokens</span> consisting of <span title="preferred MIME name">preferred MIME names</span> of <span title="ASCII-compatible character encoding">ASCII-compatible character encodings</span>*
     <tr>
      <th> <code title="">accesskey</code>
      <td> <span title="attr-accesskey">HTML elements</span>




More information about the Commit-Watchers mailing list