W3C home > Mailing lists > Public > public-rif-wg@w3.org > March 2008

Re: BNF (and XML) grammar extensibility

From: Christian de Sainte Marie <csma@ilog.fr>
Date: Tue, 11 Mar 2008 20:03:26 +0100
Message-ID: <47D6D77E.8030900@ilog.fr>
To: Jos de Bruijn <debruijn@inf.unibz.it>
CC: Michael Kifer <kifer@cs.sunysb.edu>, RIF WG <public-rif-wg@w3.org>

Jos de Bruijn wrote:
> 
>>>>    METADATALIST   ::= absolute-IRI METADATAVALUE | METADATALIST ' ; 
>>>> ' METADATALIST
>>>
>>> Why not:
>>>    METADATALIST  ::=  absolute-IRI METADATAVALUE ( ' ; ' METADATALIST)?
> 
> They seem equivalent.

If this is, indeed, what you meant, I prefer the second one. Actually, I 
think that I would prefer even better:

    METADATALIST ::=
         absolute-IRI METADATAVALUE ( ' ; ' absolute-IRI METADATAVALUE )*

It shows what it means more clearly, I think.

Cheers,

Christian
Received on Tuesday, 11 March 2008 19:05:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:47 GMT