W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] Event stream format

From: Daniel Spång <daniel.spang@gmail.com>
Date: Mon, 26 Feb 2007 00:48:27 +0100
Message-ID: <cfd9edbf0702251548n6235e6edk732926891e932c2e@mail.gmail.com>
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

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