NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 118 - DOCTYPE parsing change: '>' can close a DOCTYPE even in the quoted parts
DOCTYPE parsing change: '>' can close a DOCTYPE even in the quoted parts
Status: RESOLVED DUPLICATE of bug 80
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 17:38 CET by Nobody
Modified: 2008-03-03 18:39 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-03-03 17:38:16 CET
Index: source
===================================================================
--- source	(revision 1224)
+++ source	(revision 1225)
@@ -36566,6 +36566,11 @@
      <dt>U+0022 QUOTATION MARK (&quot;)</dt>
      <dd>Switch to the <span>after DOCTYPE public identifier state</span>.</dd>
 
+     <dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
+     <dd><span>Parse error</span>. Set the DOCTYPE token's correctness
+     flag to <i>incorrect</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 correctness
      flag to <i>incorrect</i>. Emit that DOCTYPE token.  Reconsume the
@@ -36591,6 +36596,11 @@
      <dt>U+0027 APOSTROPHE (')</dt>
      <dd>Switch to the <span>after DOCTYPE public identifier state</span>.</dd>
 
+     <dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
+     <dd><span>Parse error</span>. Set the DOCTYPE token's correctness
+     flag to <i>incorrect</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 correctness
      flag to <i>incorrect</i>. Emit that DOCTYPE token.  Reconsume the
@@ -36703,6 +36713,11 @@
      <dt>U+0022 QUOTATION MARK (&quot;)</dt>
      <dd>Switch to the <span>after DOCTYPE system identifier state</span>.</dd>
 
+     <dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
+     <dd><span>Parse error</span>. Set the DOCTYPE token's correctness
+     flag to <i>incorrect</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 correctness
      flag to <i>incorrect</i>. Emit that DOCTYPE token.  Reconsume the
@@ -36728,6 +36743,11 @@
      <dt>U+0027 APOSTROPHE (')</dt>
      <dd>Switch to the <span>after DOCTYPE system identifier state</span>.</dd>
 
+     <dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
+     <dd><span>Parse error</span>. Set the DOCTYPE token's correctness
+     flag to <i>incorrect</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 correctness
      flag to <i>incorrect</i>. Emit that DOCTYPE token.  Reconsume the
Comment 1 Henri Sivonen 2008-03-03 18:39:00 CET

*** This bug has been marked as a duplicate of bug 80 ***