W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

[whatwg] Parse error for "--" in comment end state?

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 10 May 2006 10:48:52 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0605101046520.21459@dhalsim.dreamhost.com>
On Tue, 9 May 2006, Simon Pieters wrote:
> > >
> > >   <!-- -- -->
> 
> Yes, I've seen that. I still think <!-- -- --> should be a parse error. 

My bad, I misunderstood.

> That is, I'd like the text:
> 
> > Anything else
> >    Append two U+002D HYPHEN-MINUS (-) characters and the input character
> >    to the comment token's data. Switch to the comment state.
> 
> ...to say:
> 
>   Anything else
>       Parse error. Append two U+002D HYPHEN-MINUS (-) characters and the input
>       character to the comment token's data. Switch to the comment state.

Yeah, I agree. <!-- ---> is already a parse error, <!-- -- --> should be 
too. I'll fix that shortly. That it isn't is an oversight.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 10 May 2006 03:48:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC