[Imps] [ANN] Father Christmas is a bit early this year…

Anne van Kesteren annevk at opera.com
Thu Dec 28 09:19:41 PST 2006

On Thu, 28 Dec 2006 18:15:25 +0100, Thomas Broyer <t.broyer at gmail.com>  
>> It seems you emit a comment token X for <?X> where you really should  
>> emit X according to the specification.
> I disagree.
> In "tag open state":
> <http://www.whatwg.org/specs/web-apps/current-work/#tag-open>
> """
> Consume the next input character:
> [...]
>     Parse error. Switch to the bogus comment state.
> """
> The question mark is consumed, so it's not part of the comment's value.

You should also read "Bogus comment state"  
http://www.whatwg.org/specs/web-apps/current-work/#bogus before drawing  
any conclusions: "Emit a comment token whose data is the concatenation of  
all the characters starting from and __including__ the character that  
caused the state machine to switch into the bogus comment state [...]"


Anne van Kesteren

More information about the Implementors mailing list