NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 80 - 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 FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
: 69 78 79 118 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 13:05 CET by Nobody
Modified: 2008-03-13 16:09 CET (History)
1 user (show)

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 13:05:29 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 13:21:05 CET
*** Bug 69 has been marked as a duplicate of this bug. ***
Comment 2 Henri Sivonen 2008-03-03 13:21:51 CET
*** Bug 78 has been marked as a duplicate of this bug. ***
Comment 3 Henri Sivonen 2008-03-03 13:21:59 CET
*** Bug 79 has been marked as a duplicate of this bug. ***
Comment 4 Henri Sivonen 2008-03-03 18:39:00 CET
*** Bug 118 has been marked as a duplicate of this bug. ***