NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 576 - Reduce the number of parse errors for EOF in DOCTYPE. (bug 6351) (credit: hs)
Reduce the number of parse errors for EOF in DOCTYPE. (bug 6351) (credit: hs)
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:38 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 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 Henri Sivonen 2009-05-27 14:38:48 CEST
Index: source
===================================================================
--- source	(revision 3120)
+++ source	(revision 3121)
@@ -74378,6 +74378,11 @@
    <dt>U+0020 SPACE</dt>
    <dd>Switch to the <span>before DOCTYPE name state</span>.</dd>
 
+   <dt>EOF</dt>
+   <dd><span>Parse error</span>. Create a new DOCTYPE token. Set its
+   <i>force-quirks flag</i> to <i>on</i>. Emit the token. Reconsume
+   the EOF character in the <span>data state</span>.</dd>
+
    <dt>Anything else</dt>
    <dd><span>Parse error</span>. Reconsume the current
    character in the <span>before DOCTYPE name state</span>.</dd>