- From: poot <cvsmail@w3.org>
- Date: Tue, 5 Jan 2010 16:42:05 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Make the spec require case-sensitive matches where it doesn't really matter whether it's sensitive or not, for sanity's sake. (whatwg r4476) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3575&r2=1.3576&f=h http://html5.org/tools/web-apps-tracker?from=4475&to=4476 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3575 retrieving revision 1.3576 diff -u -d -r1.3575 -r1.3576 --- Overview.html 5 Jan 2010 07:29:10 -0000 1.3575 +++ Overview.html 5 Jan 2010 07:41:55 -0000 1.3576 @@ -57719,28 +57719,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 @@ -57771,7 +57775,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> @@ -57855,11 +57859,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>
Received on Tuesday, 5 January 2010 07:42:34 UTC