W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2012

N-triples white space question

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Fri, 18 May 2012 10:04:30 +0100
Message-ID: <4FB6109E.4060003@epimorphics.com>
To: RDF-WG <public-rdf-wg@w3.org>
Gavin, Eric,

rdf-turtle says:

[1] ntriplesDoc	::= (triple)? (EOL triple)* (EOL)?
[2] triple	::= subject predicate object '.'
[8] EOL		::= ([#xD#xA])+

What are the white space rules?

Does it inherit white space processing from the rest of Turtle? 
Comments seem to come from Turtle.

If it does not inherit white space rules,
     what about horizontal white space inside triples?

If it does inherit white space rules,
    that includes newlines within triples between S/P or P/O.

The simplest solution is to add text in section 12.3 to say that 
horizontal white space outside tokens is discarded (which is different 
to Turtle).

Received on Friday, 18 May 2012 09:05:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:17 UTC