[html5] r4311 - [ct] (2) Make <!DOCTYPE html PUBLICa> one parse error, not two. Fixing http://ww [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Oct 24 15:38:50 PDT 2009


Author: ianh
Date: 2009-10-24 15:38:46 -0700 (Sat, 24 Oct 2009)
New Revision: 4311

Modified:
   complete.html
   index
   source
Log:
[ct] (2) Make <!DOCTYPE html PUBLICa> one parse error, not two.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8019

Modified: complete.html
===================================================================
--- complete.html	2009-10-24 11:34:07 UTC (rev 4310)
+++ complete.html	2009-10-24 22:38:46 UTC (rev 4311)
@@ -72246,14 +72246,30 @@
    <dd>Switch to the <a href=#before-doctype-public-identifier-state>before DOCTYPE public identifier
    state</a>.</dd>
 
+   <dt>U+0022 QUOTATION MARK (")</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's public
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-public-identifier-(double-quoted)-state>DOCTYPE public identifier (double-quoted) state</a>.</dd>
+
+   <dt>U+0027 APOSTROPHE (')</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's public
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-public-identifier-(single-quoted)-state>DOCTYPE public identifier (single-quoted) state</a>.</dd>
+
+   <dt>U+003E GREATER-THAN SIGN (>)</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. Switch to the <a href=#data-state>data 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.
    Reconsume the EOF character in the <a href=#data-state>data state</a>.</dd>
 
    <dt>Anything else</dt>
-   <dd><a href=#parse-error>Parse error</a>. Reconsume the character in the
-   <a href=#before-doctype-public-identifier-state>before DOCTYPE public identifier state</a>.</dd>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#bogus-doctype-state>bogus
+   DOCTYPE state</a>.</dd>
 
   </dl><h5 id=before-doctype-public-identifier-state><span class=secno>11.2.4.58 </span><dfn>Before DOCTYPE public identifier state</dfn></h5>
 
@@ -72419,14 +72435,30 @@
    <dd>Switch to the <a href=#before-doctype-system-identifier-state>before DOCTYPE system identifier
    state</a>.</dd>
 
+   <dt>U+0022 QUOTATION MARK (")</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's system
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-system-identifier-(double-quoted)-state>DOCTYPE system identifier (double-quoted) state</a>.</dd>
+
+   <dt>U+0027 APOSTROPHE (')</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's system
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-system-identifier-(single-quoted)-state>DOCTYPE system identifier (single-quoted) state</a>.</dd>
+
+   <dt>U+003E GREATER-THAN SIGN (>)</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. Switch to the <a href=#data-state>data 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.
    Reconsume the EOF character in the <a href=#data-state>data state</a>.</dd>
 
    <dt>Anything else</dt>
-   <dd><a href=#parse-error>Parse error</a>. Reconsume the character in the
-   <a href=#before-doctype-system-identifier-state>before DOCTYPE system identifier state</a>.</dd>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#bogus-doctype-state>bogus
+   DOCTYPE state</a>.</dd>
 
   </dl><h5 id=before-doctype-system-identifier-state><span class=secno>11.2.4.64 </span><dfn>Before DOCTYPE system identifier state</dfn></h5>
 

Modified: index
===================================================================
--- index	2009-10-24 11:34:07 UTC (rev 4310)
+++ index	2009-10-24 22:38:46 UTC (rev 4311)
@@ -63218,14 +63218,30 @@
    <dd>Switch to the <a href=#before-doctype-public-identifier-state>before DOCTYPE public identifier
    state</a>.</dd>
 
+   <dt>U+0022 QUOTATION MARK (")</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's public
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-public-identifier-(double-quoted)-state>DOCTYPE public identifier (double-quoted) state</a>.</dd>
+
+   <dt>U+0027 APOSTROPHE (')</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's public
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-public-identifier-(single-quoted)-state>DOCTYPE public identifier (single-quoted) state</a>.</dd>
+
+   <dt>U+003E GREATER-THAN SIGN (>)</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. Switch to the <a href=#data-state>data 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.
    Reconsume the EOF character in the <a href=#data-state>data state</a>.</dd>
 
    <dt>Anything else</dt>
-   <dd><a href=#parse-error>Parse error</a>. Reconsume the character in the
-   <a href=#before-doctype-public-identifier-state>before DOCTYPE public identifier state</a>.</dd>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#bogus-doctype-state>bogus
+   DOCTYPE state</a>.</dd>
 
   </dl><h5 id=before-doctype-public-identifier-state><span class=secno>9.2.4.58 </span><dfn>Before DOCTYPE public identifier state</dfn></h5>
 
@@ -63391,14 +63407,30 @@
    <dd>Switch to the <a href=#before-doctype-system-identifier-state>before DOCTYPE system identifier
    state</a>.</dd>
 
+   <dt>U+0022 QUOTATION MARK (")</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's system
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-system-identifier-(double-quoted)-state>DOCTYPE system identifier (double-quoted) state</a>.</dd>
+
+   <dt>U+0027 APOSTROPHE (')</dt>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's system
+   identifier to the empty string (not missing), then switch to the
+   <a href=#doctype-system-identifier-(single-quoted)-state>DOCTYPE system identifier (single-quoted) state</a>.</dd>
+
+   <dt>U+003E GREATER-THAN SIGN (>)</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. Switch to the <a href=#data-state>data 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.
    Reconsume the EOF character in the <a href=#data-state>data state</a>.</dd>
 
    <dt>Anything else</dt>
-   <dd><a href=#parse-error>Parse error</a>. Reconsume the character in the
-   <a href=#before-doctype-system-identifier-state>before DOCTYPE system identifier state</a>.</dd>
+   <dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#bogus-doctype-state>bogus
+   DOCTYPE state</a>.</dd>
 
   </dl><h5 id=before-doctype-system-identifier-state><span class=secno>9.2.4.64 </span><dfn>Before DOCTYPE system identifier state</dfn></h5>
 

Modified: source
===================================================================
--- source	2009-10-24 11:34:07 UTC (rev 4310)
+++ source	2009-10-24 22:38:46 UTC (rev 4311)
@@ -81411,14 +81411,30 @@
    <dd>Switch to the <span>before DOCTYPE public identifier
    state</span>.</dd>
 
+   <dt>U+0022 QUOTATION MARK (")</dt>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's public
+   identifier to the empty string (not missing), then switch to the
+   <span>DOCTYPE public identifier (double-quoted) state</span>.</dd>
+
+   <dt>U+0027 APOSTROPHE (')</dt>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's public
+   identifier to the empty string (not missing), then switch to the
+   <span>DOCTYPE public identifier (single-quoted) state</span>.</dd>
+
+   <dt>U+003E GREATER-THAN SIGN (>)</dt>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
+   token. Switch to the <span>data state</span>.</dd>
+
    <dt>EOF</dt>
    <dd><span>Parse error</span>. Set the DOCTYPE token's
    <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE token.
    Reconsume the EOF character in the <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
-   <dd><span>Parse error</span>. Reconsume the character in the
-   <span>before DOCTYPE public identifier state</span>.</dd>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>bogus
+   DOCTYPE state</span>.</dd>
 
   </dl>
 
@@ -81614,14 +81630,30 @@
    <dd>Switch to the <span>before DOCTYPE system identifier
    state</span>.</dd>
 
+   <dt>U+0022 QUOTATION MARK (")</dt>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's system
+   identifier to the empty string (not missing), then switch to the
+   <span>DOCTYPE system identifier (double-quoted) state</span>.</dd>
+
+   <dt>U+0027 APOSTROPHE (')</dt>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's system
+   identifier to the empty string (not missing), then switch to the
+   <span>DOCTYPE system identifier (single-quoted) state</span>.</dd>
+
+   <dt>U+003E GREATER-THAN SIGN (>)</dt>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
+   token. Switch to the <span>data state</span>.</dd>
+
    <dt>EOF</dt>
    <dd><span>Parse error</span>. Set the DOCTYPE token's
    <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE token.
    Reconsume the EOF character in the <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
-   <dd><span>Parse error</span>. Reconsume the character in the
-   <span>before DOCTYPE system identifier state</span>.</dd>
+   <dd><span>Parse error</span>. Set the DOCTYPE token's
+   <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>bogus
+   DOCTYPE state</span>.</dd>
 
   </dl>
 




More information about the Commit-Watchers mailing list