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

[whatwg] Event stream format

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 26 Feb 2007 10:45:10 +0100
Message-ID: <op.tocn1kjg64w2qv@id-c0020.driveway.uu.nl>
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

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