[whatwg] Event stream format

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 ";").


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 26 February 2007 01:45:10 UTC