W3C home > Mailing lists > Public > public-rdf-comments@w3.org > January 2014

Minor bug in N-Triples/N-Quads EBNF

From: Evan W. Patton <pattoe@rpi.edu>
Date: Wed, 29 Jan 2014 06:34:38 -0800
Message-Id: <BC5A5BE0-684F-455E-9D0F-5557D9B40860@rpi.edu>
To: public-rdf-comments@w3.org
Hello all,

Production 6 of the N-Triples [1] grammar and production 7 of the N-Quads [2] grammar include '@' LANGTAG. The terminal LANGTAG also begins with '@'. Thus, specifying a language would require two @, making the examples in Sec 2.3 [3] of the N-Triples document invalid N-Triples / N-Quads. Furthermore, this also means that a valid N-Triples document containing language tags would not be valid Turtle document. The '@' sign in these two productions should be removed to bring them in line with production 128s of Turtle [4].

Evan

[1] http://www.w3.org/TR/n-triples/#n-triples-grammar
[2] http://www.w3.org/TR/n-quads/#sec-grammar
[3] http://www.w3.org/TR/n-triples/#sec-literals
[4] http://www.w3.org/TR/turtle/#sec-grammar-grammar
Received on Wednesday, 29 January 2014 14:35:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:59 UTC