[html5] r4476 - [e] (0) Make the spec require case-sensitive matches where it doesn't really mat [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 4 23:41:20 PST 2010


Author: ianh
Date: 2010-01-04 23:41:16 -0800 (Mon, 04 Jan 2010)
New Revision: 4476

Modified:
   complete.html
   index
   source
Log:
[e] (0) Make the spec require case-sensitive matches where it doesn't really matter whether it's sensitive or not, for sanity's sake.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8260

Modified: complete.html
===================================================================
--- complete.html	2010-01-05 07:29:01 UTC (rev 4475)
+++ complete.html	2010-01-05 07:41:16 UTC (rev 4476)
@@ -72554,28 +72554,32 @@
     permitted DOCTYPE</dfn>.</p>
 
     <ul><!-- only things that trigger no-quirks mode and were valid in
-     some other spec are allowed in this list --><li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD HTML 4.0//EN</code>", and the
-     token's system identifier is either missing or the
+     some other spec are allowed in this list --><li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD HTML 4.0//EN</code>", and
+     the token's system identifier is either missing or the
      <a href=#case-sensitive>case-sensitive</a> string "<code title="">http://www.w3.org/TR/REC-html40/strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD HTML 4.01//EN</code>", and the
-     token's system identifier is either missing or the
+     <li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD HTML 4.01//EN</code>", and
+     the token's system identifier is either missing or the
      <a href=#case-sensitive>case-sensitive</a> string "<code title="">http://www.w3.org/TR/html4/strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD XHTML 1.0 Strict//EN</code>",
+     <li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD XHTML 1.0 Strict//EN</code>",
      and the token's system identifier is the
      <a href=#case-sensitive>case-sensitive</a> string "<code title="">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD XHTML 1.1//EN</code>", and the
-     token's system identifier is the <a href=#case-sensitive>case-sensitive</a>
+     <li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD XHTML 1.1//EN</code>", and
+     the token's system identifier is the <a href=#case-sensitive>case-sensitive</a>
      string "<code title="">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</code>".</li>
 
     </ul><p>Conformance checkers may, based on the values (including
@@ -72606,7 +72610,7 @@
     <code>Document</code> to <a href=#quirks-mode>quirks mode</a>:</p>
 
     <ul class=brief><li> The <i>force-quirks flag</i> is set to <i>on</i>. </li>
-     <li> The name is set to anything other than "<code title="">HTML</code>". </li>
+     <li> The name is set to anything other than "<code title="">html</code>" (compared <a href=#case-sensitive title=case-sensitive>case-sensitively</a>). </li>
      <li> The public identifier starts with: "<code title="">+//Silmaril//dtd html Pro v0r11 19970101//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//AdvaSoft Ltd//DTD HTML 3.0 asWedit + extensions//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//AS//DTD HTML 3.0 asWedit + extensions//<!--EN--></code>" </li>
@@ -72690,11 +72694,11 @@
      <li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Transitional//<!--EN--></code>" </li>
      <li> The system identifier is not missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Frameset//<!--EN--></code>" </li>
      <li> The system identifier is not missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Transitional//<!--EN--></code>" </li>
-    </ul><p>The name, system identifier, and public identifier strings must
-    be compared to the values given in the lists above in an
-    <a href=#ascii-case-insensitive>ASCII case-insensitive</a> manner. A system identifier
-    whose value is the empty string is not considered missing for the
-    purposes of the conditions above.</p>
+    </ul><p>The system identifier and public identifier strings must be
+    compared to the values given in the lists above in an <a href=#ascii-case-insensitive>ASCII
+    case-insensitive</a> manner. A system identifier whose value is
+    the empty string is not considered missing for the purposes of the
+    conditions above.</p>
 
     <p>Then, switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-html-insertion-mode title="insertion mode: before html">before html</a>".</p>
 

Modified: index
===================================================================
--- index	2010-01-05 07:29:01 UTC (rev 4475)
+++ index	2010-01-05 07:41:16 UTC (rev 4476)
@@ -64181,28 +64181,32 @@
     permitted DOCTYPE</dfn>.</p>
 
     <ul><!-- only things that trigger no-quirks mode and were valid in
-     some other spec are allowed in this list --><li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD HTML 4.0//EN</code>", and the
-     token's system identifier is either missing or the
+     some other spec are allowed in this list --><li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD HTML 4.0//EN</code>", and
+     the token's system identifier is either missing or the
      <a href=#case-sensitive>case-sensitive</a> string "<code title="">http://www.w3.org/TR/REC-html40/strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD HTML 4.01//EN</code>", and the
-     token's system identifier is either missing or the
+     <li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD HTML 4.01//EN</code>", and
+     the token's system identifier is either missing or the
      <a href=#case-sensitive>case-sensitive</a> string "<code title="">http://www.w3.org/TR/html4/strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD XHTML 1.0 Strict//EN</code>",
+     <li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD XHTML 1.0 Strict//EN</code>",
      and the token's system identifier is the
      <a href=#case-sensitive>case-sensitive</a> string "<code title="">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <a href=#ascii-case-insensitive>ASCII
-     case-insensitive</a> match for the string "<code title="">html</code>", the token's public identifier is the
-     <a href=#case-sensitive>case-sensitive</a> string "<code title="">-//W3C//DTD XHTML 1.1//EN</code>", and the
-     token's system identifier is the <a href=#case-sensitive>case-sensitive</a>
+     <li>The DOCTYPE token's name is a <a href=#case-sensitive>case-sensitive</a>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <a href=#case-sensitive>case-sensitive</a> string
+     "<code title="">-//W3C//DTD XHTML 1.1//EN</code>", and
+     the token's system identifier is the <a href=#case-sensitive>case-sensitive</a>
      string "<code title="">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</code>".</li>
 
     </ul><p>Conformance checkers may, based on the values (including
@@ -64233,7 +64237,7 @@
     <code>Document</code> to <a href=#quirks-mode>quirks mode</a>:</p>
 
     <ul class=brief><li> The <i>force-quirks flag</i> is set to <i>on</i>. </li>
-     <li> The name is set to anything other than "<code title="">HTML</code>". </li>
+     <li> The name is set to anything other than "<code title="">html</code>" (compared <a href=#case-sensitive title=case-sensitive>case-sensitively</a>). </li>
      <li> The public identifier starts with: "<code title="">+//Silmaril//dtd html Pro v0r11 19970101//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//AdvaSoft Ltd//DTD HTML 3.0 asWedit + extensions//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//AS//DTD HTML 3.0 asWedit + extensions//<!--EN--></code>" </li>
@@ -64317,11 +64321,11 @@
      <li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Transitional//<!--EN--></code>" </li>
      <li> The system identifier is not missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Frameset//<!--EN--></code>" </li>
      <li> The system identifier is not missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Transitional//<!--EN--></code>" </li>
-    </ul><p>The name, system identifier, and public identifier strings must
-    be compared to the values given in the lists above in an
-    <a href=#ascii-case-insensitive>ASCII case-insensitive</a> manner. A system identifier
-    whose value is the empty string is not considered missing for the
-    purposes of the conditions above.</p>
+    </ul><p>The system identifier and public identifier strings must be
+    compared to the values given in the lists above in an <a href=#ascii-case-insensitive>ASCII
+    case-insensitive</a> manner. A system identifier whose value is
+    the empty string is not considered missing for the purposes of the
+    conditions above.</p>
 
     <p>Then, switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-html-insertion-mode title="insertion mode: before html">before html</a>".</p>
 

Modified: source
===================================================================
--- source	2010-01-05 07:29:01 UTC (rev 4475)
+++ source	2010-01-05 07:41:16 UTC (rev 4476)
@@ -82834,39 +82834,36 @@
      <!-- only things that trigger no-quirks mode and were valid in
      some other spec are allowed in this list -->
 
-     <li>The DOCTYPE token's name is an <span>ASCII
-     case-insensitive</span> match for the string "<code
-     title="">html</code>", the token's public identifier is the
+     <li>The DOCTYPE token's name is a <span>case-sensitive</span>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <span>case-sensitive</span> string
+     "<code title="">-//W3C//DTD HTML 4.0//EN</code>", and
+     the token's system identifier is either missing or the
      <span>case-sensitive</span> string "<code
-     title="">-//W3C//DTD HTML 4.0//EN</code>", and the
-     token's system identifier is either missing or the
-     <span>case-sensitive</span> string "<code
      title="">http://www.w3.org/TR/REC-html40/strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <span>ASCII
-     case-insensitive</span> match for the string "<code
-     title="">html</code>", the token's public identifier is the
+     <li>The DOCTYPE token's name is a <span>case-sensitive</span>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <span>case-sensitive</span> string
+     "<code title="">-//W3C//DTD HTML 4.01//EN</code>", and
+     the token's system identifier is either missing or the
      <span>case-sensitive</span> string "<code
-     title="">-//W3C//DTD HTML 4.01//EN</code>", and the
-     token's system identifier is either missing or the
-     <span>case-sensitive</span> string "<code
      title="">http://www.w3.org/TR/html4/strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <span>ASCII
-     case-insensitive</span> match for the string "<code
-     title="">html</code>", the token's public identifier is the
-     <span>case-sensitive</span> string "<code
+     <li>The DOCTYPE token's name is a <span>case-sensitive</span>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <span>case-sensitive</span> string
+     "<code
      title="">-//W3C//DTD XHTML 1.0 Strict//EN</code>",
      and the token's system identifier is the
      <span>case-sensitive</span> string "<code
      title="">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</code>".</li>
 
-     <li>The DOCTYPE token's name is an <span>ASCII
-     case-insensitive</span> match for the string "<code
-     title="">html</code>", the token's public identifier is the
-     <span>case-sensitive</span> string "<code
-     title="">-//W3C//DTD XHTML 1.1//EN</code>", and the
-     token's system identifier is the <span>case-sensitive</span>
+     <li>The DOCTYPE token's name is a <span>case-sensitive</span>
+     match for the string "<code title="">html</code>", the token's
+     public identifier is the <span>case-sensitive</span> string
+     "<code title="">-//W3C//DTD XHTML 1.1//EN</code>", and
+     the token's system identifier is the <span>case-sensitive</span>
      string "<code
      title="">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</code>".</li>
 
@@ -82901,7 +82898,7 @@
 
     <ul class="brief">
      <li> The <i>force-quirks flag</i> is set to <i>on</i>. </li>
-     <li> The name is set to anything other than "<code title="">HTML</code>". </li>
+     <li> The name is set to anything other than "<code title="">html</code>" (compared <span title="case-sensitive">case-sensitively</span>). </li>
      <li> The public identifier starts with: "<code title="">+//Silmaril//dtd html Pro v0r11 19970101//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//AdvaSoft Ltd//DTD HTML 3.0 asWedit + extensions//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//AS//DTD HTML 3.0 asWedit + extensions//<!--EN--></code>" </li>
@@ -82990,11 +82987,11 @@
      <li> The system identifier is not missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Transitional//<!--EN--></code>" </li>
     </ul>
 
-    <p>The name, system identifier, and public identifier strings must
-    be compared to the values given in the lists above in an
-    <span>ASCII case-insensitive</span> manner. A system identifier
-    whose value is the empty string is not considered missing for the
-    purposes of the conditions above.</p>
+    <p>The system identifier and public identifier strings must be
+    compared to the values given in the lists above in an <span>ASCII
+    case-insensitive</span> manner. A system identifier whose value is
+    the empty string is not considered missing for the purposes of the
+    conditions above.</p>
 
     <p>Then, switch the <span>insertion mode</span> to "<span
     title="insertion mode: before html">before html</span>".</p>




More information about the Commit-Watchers mailing list