W3C home > Mailing lists > Public > public-rdf-comments@w3.org > July 2013

Re: Please allow blank lines in n-triples format -- and comments!

From: David Booth <david@dbooth.org>
Date: Wed, 17 Jul 2013 14:28:09 -0400
Message-ID: <51E6E239.5020803@dbooth.org>
To: public-rdf-comments <public-rdf-comments@w3.org>
CC: "Carroll, Jeremy" <jjc@syapse.com>
Also, the current grammar does not allow comments, though it should, 
because as Jeremy Carroll pointed out, the original n-triples format 
allowed comments:

Here is the original n-triples grammar:

So these omissions seem to be bugs in the grammar, rather than being 

BTW, the correction I suggested below is also wrong, as it would not 
allow blank lines that contain whitespace (nor does it allow comments).


On 07/17/2013 12:42 PM, David Booth wrote:
> Blank lines are currently prohibited by the n-triples grammar:
> https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/n-triples.html#n-triples-grammar
> That seems overly strict.  I suggest changing the ntriplesDoc production
> to:
> [1]     ntriplesDoc     ::=     EOL* (triple EOL+)* triple?
> David
Received on Wednesday, 17 July 2013 18:28:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:35 UTC