W3C home > Mailing lists > Public > www-svg@w3.org > September 2010

Re: [CSS21][CSS3] Grammar Error

From: Peter Moulder <peter.moulder@monash.edu>
Date: Thu, 02 Sep 2010 20:13:16 +1000
To: Mark <markjord@gmail.com>
Cc: www-svg@w3.org
Message-id: <20100902101316.GA3024@bowman.infotech.monash.edu.au>
On Thu, Sep 02, 2010 at 08:47:06AM +0100, Mark wrote:
> there's another error in the grammar:-
> 
> ruleset
>   : selector [ ',' S* selector ]*
>     '{' S* declaration? [ ';' S* declaration? ]* '}' S*
> 
> This rule won't parse 99.9% of existing CSS files. There is a space
> missing from the front before '{'. It should be:-
> 
> ruleset
>   : selector [ ',' S* selector ]*
>     S* '{' S* declaration? [ ';' S* declaration? ]* '}' S*

selector already includes trailing S* (via the S* at the end of any).

pjrm.
Received on Thursday, 2 September 2010 10:13:47 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:46 GMT