NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 305 - Make <foo bar '> a parse error on the ', to match the syntax section. (credit: hs)
Make <foo bar '> a parse error on the ', to match the syntax section. (credit...
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: 2008-09-25 11:50 CEST by Henri Sivonen
Modified: 2016-03-22 17:02 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 Henri Sivonen 2008-09-25 11:50:48 CEST
Index: source
===================================================================
--- source	(revision 2122)
+++ source	(revision 2123)
@@ -45188,6 +45188,11 @@
    <dt>U+002F SOLIDUS (/)</dt>
    <dd>Switch to the <span>self-closing start tag state</span>.</dd>
 
+   <dt>U+0022 QUOTATION MARK (&quot;)</dt>
+   <dt>U+0027 APOSTROPHE (')</dt>
+   <dd><span>Parse error</span>. Treat it as per the "anything else"
+   entry below.</dd>
+
    <dt>EOF</dt>
    <dd><span>Parse error</span>. Emit the current tag
    token. Reconsume the EOF character in the <span>data
Comment 1 Simon Pieters 2016-03-22 17:02:38 CET
https://parsetree.validator.nu/?parser=html5&content=<%21DOCTYPE+html><p+"+%27>&submit=Print+Tree

This seems to be implemented, but it's not clear to me why the message is different between ' and "...