NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 204 - EOF should be explicitly listed in each tokeniser state.
EOF should be explicitly listed in each tokeniser state.
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-23 13:24 CEST by Henri Sivonen
Modified: 2008-05-28 14:15 CEST (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 2008-05-23 13:24:56 CEST
Index: source
===================================================================
--- source	(revision 1683)
+++ source	(revision 1684)
@@ -41047,6 +41047,11 @@
      <dt>U+002F SOLIDUS (/)</dt>
      <dd>Switch to the <span>self-closing start tag state</span>.</dd>
 
+     <dt>EOF</dt>
+     <dd><span>Parse error</span>. Emit the current tag
+     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 attribute name state</span>.</dd>
@@ -41067,6 +41072,11 @@
      <dd>Set the <i>self-closing flag</i> of the current tag
      token. Emit the current tag token. Switch to the <span>data
      state</span>.</dd>
+
+     <dt>EOF</dt>
+     <dd><span>Parse error</span>. Emit the current tag
+     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