[whatwg] Event stream format

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

Received on Monday, 26 February 2007 01:53:50 UTC