html5/spec Overview.html,1.1672,1.1673

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

Modified Files:
	Overview.html 
Log Message:
Lower-case the DOCTYPE name so that UAs can do case-sensitive matches on interned strings instead of case-insensitive matches. DOCTYPE name is now lowercase in the DOM (to match XHTML case -- might as well keep the differences minimal). (whatwg r2502)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1672
retrieving revision 1.1673
diff -u -d -r1.1672 -r1.1673
--- Overview.html	2 Dec 2008 02:30:31 -0000	1.1672
+++ Overview.html	2 Dec 2008 02:45:19 -0000	1.1673
@@ -37644,6 +37644,12 @@
    <i>force-quirks flag</i> to <i>on</i>. Emit the token. Switch to
    the <a href=#data-state>data state</a>.</dd>
 
+   <dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
+   <dd>Create a new DOCTYPE token. Set the token's name to the
+   lowercase version of the input character (add 0x0020 to the
+   character's code point). Switch to the <a href=#doctype-name-state>DOCTYPE name
+   state</a>.</dd>
+
    <dt>EOF</dt>
    <dd><a href=#parse-error>Parse error</a>. Create a new DOCTYPE token. Set its
    <i>force-quirks flag</i> to <i>on</i>. Emit the token. Reconsume
@@ -37665,6 +37671,11 @@
    <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
    state</a>.</dd>
 
+   <dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
+   <dd>Append the lowercase version of the input character (add 0x0020
+   to the character's code point) to the current DOCTYPE token's
+   name. Stay in the <a href=#doctype-name-state>DOCTYPE name state</a>.</dd>
+
    <dt>EOF</dt>
    <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
    <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE token.
@@ -38336,16 +38347,17 @@
    <dt>A DOCTYPE token</dt>
    <dd>
 
-    <p>If the DOCTYPE token's <code title="">name</code> is not an
-    <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">HTML</code>", or if the token's public identifier is
-    neither missing nor equal to the string
-    "<code>XSLT-compat</code>", or if the token's system identifier is
-    not missing, then there is a <a href=#parse-error>parse error</a> (this is the
-    <dfn id=doctype-parse-error>DOCTYPE parse error</dfn>). Conformance checkers may, instead
-    of reporting this error, switch to a conformance checking mode for
-    another language (e.g. based on the DOCTYPE token a conformance
-    checker could recognize that the document is an HTML4-era
-    document, and defer to an HTML4 conformance checker.)</p>
+    <p>If the DOCTYPE token's <code title="">name</code> is not a
+    <a href=#case-sensitive>case-sensitive</a> match for the string "<code title="">html</code>", or if the token's public identifier is
+    neither missing nor a <a href=#case-sensitive>case-sensitive</a> match for the
+    string "<code>XSLT-compat</code>", or if the token's system
+    identifier is not missing, then there is a <a href=#parse-error>parse
+    error</a> (this is the <dfn id=doctype-parse-error>DOCTYPE parse
+    error</dfn>). Conformance checkers may, instead of reporting this
+    error, switch to a conformance checking mode for another language
+    (e.g. based on the DOCTYPE token a conformance checker could
+    recognize that the document is an HTML4-era document, and defer to
+    an HTML4 conformance checker.)</p>
 
     <p>Append a <code>DocumentType</code> node to the
     <code>Document</code> node, with the <code title="">name</code>

Received on Tuesday, 2 December 2008 02:45:32 UTC