[whatwg] Event stream format

David Håsäther hasather at gmail.com
Mon Feb 26 01:53:50 PST 2007


On Mon, 26 Feb 2007 10:45:10 +0100, Anne van Kesteren <annevk at opera.com>  
wrote:

> On Mon, 26 Feb 2007 01:44:11 +0100, David Håsäther <hasather at gmail.com>  
> wrote:
>> <event> is defined as
>>
>>    <event>   ::= [ <comment> | <command> | <field> ]* <newline>
>>
>> i.e., one or more of <comment>, <command> and <field>, so the way I  
>> read it, your example is a <field> with only the obligatory <name>  
>> part, followed by a <comment>.
>
> It can only match <field> if it was followed by a newline (and did not  
> contain a ";").

Yes, I read it a bit wrong before. So I guess Daniel's right saying that  
cases where a <name> contains a ";" should be defined.

-- 
David Håsäther



More information about the whatwg mailing list