[whatwg] Event stream format

Anne van Kesteren annevk at opera.com
Mon Feb 26 01:45:10 PST 2007


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/>



More information about the whatwg mailing list