[whatwg] Event stream format

Daniel Spång daniel.spang at gmail.com
Sun Feb 25 15:48:27 PST 2007

I think I have found an error in the event stream format in the Web
Applications 1.0 draft.

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

More information about the whatwg mailing list