[whatwg] Parse error for "--" in comment end state?
zcorpan at hotmail.com
Tue May 9 10:05:40 PDT 2006
From: Ian Hickson <ian at hixie.ch>
> > Shouldn't the Anything else entry in Comment end state be a parse
> > written, the following is allowed:
> > <!-- -- -->
> > I thought it shouldn't for compability with the "SGML comments"
> > implementations.
> >  http://whatwg.org/specs/web-apps/current-work/#comment1
Yes, I've seen that. I still think <!-- -- --> should be a parse error. That
is, I'd like the text:
> Append two U+002D HYPHEN-MINUS (-) characters and the input character
> to the comment token's data. Switch to the comment state.
Parse error. Append two U+002D HYPHEN-MINUS (-) characters and the
character to the comment token's data. Switch to the comment state.
More information about the whatwg