[whatwg] Event stream format

I think I have found an error in the event stream format in the Web
Applications 1.0 draft.
http://www.whatwg.org/specs/web-apps/current-work/#the-event

A note says: "Since any random stream of characters matches the above
format, there is no need to define any error handling." This is not
true, e.g., how does the following line match the format?

A field name; is this a comment?

The line starts with a character other than ';' and ':' which means
that the only rule that could match the line is the <field> rule. But
the format says that ';' is not a part of <name> so it does not match
<field> either.

I hope you can sort this out.

--
Daniel Sp?ng

Received on Sunday, 25 February 2007 15:48:27 UTC