Bugzilla – Bug 204
EOF should be explicitly listed in each tokeniser state.
Last modified: 2008-05-28 14:15:54 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