N3 grammar bug with comma in collections

cwm (and jena's n3 parser) seem to implement something different than
specified in the Notation3 grammar.

Specifically, the grammar says this:
[[
objectlist
    object
    object , objectlist
]] -- http://www.w3.org/DesignIssues/Notation3.html

and in the RDF/n3 one:
[[
objecttail bnf:mustBeOneSequence (
		( )
		( ","   object objecttail )
	).
]] -- http://www.w3.org/2000/10/swap/grammar/n3.n3


So a comma is required between entries.

cwm implements something else - commas are forbidden.

Failing test with cwm:
@prefix : <http://example.org/stuff/1.0/> .
:a :b ( "apple", "banana" ) .

Passing test with cwm:
@prefix : <http://example.org/stuff/1.0/> .
:a :b ( "apple" "banana" ) .

I need to change turtle one way or the other to match.  I assume
the grammar is in error.

Dave

Received on Thursday, 26 February 2004 09:21:08 UTC