W3C home > Mailing lists > Public > www-rdf-comments@w3.org > October to December 2007

RDF Test Cases Bug: The N-Triples Grammar is Ambiguous

From: Sean B. Palmer <sean@miscoranda.com>
Date: Thu, 1 Nov 2007 10:35:04 +0000
Message-ID: <b6bb4d890711010335k1a20578bkae015caff917d29d@mail.gmail.com>
To: www-rdf-comments@w3.org

According to the N-Triples grammar [1], the following is a valid
instance of the line production in an N-Triples document:

<p:> <> <q:> <> <r:> <> "s" .

But which part of the line matches the subject production, and which
part matches the predicate production? As far as I can tell, the
N-Triples specification does provide a means of interpretation. This
is a very major bug, if so; it means that N-Triples does not have a
usable grammar.

Cf. http://chatlogs.planetrdf.com/swig/2007-11-01.html#T09-28-40


[1] http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntrip_grammar
- RDF Test Cases, 3.1. Extended Backus-Naur Form (EBNF) Grammar

Sean B. Palmer, http://inamidst.com/sbp/
Received on Thursday, 1 November 2007 10:35:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:06 UTC