Re: Are spaces allowed between terms in N-Triples 1.1?

On Jun 29, 2017 10:31 AM, "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
wrote:

It might have been better at the beginning to require white space after the
subject, predicate, and object of a triple in N-Triples


In the beginning at the beginning it was optional,  (also at the beginning
and end of the end).

Then the specification of whitespace was moved outside of the grammar.
Where to, you may ask? Why, to the introduction, which quite clearly states
that terms "may be separated by white space (spaces U+0020 or tabs U+0009).
"

This is quite clearly different from the Note, where the introduction
stated that the terms "may be seperated by white space (spaces #x20 or tabs
#x9)".

 Unlike the Note, the TR  doesn't specify whether there can be whitespace
at the start or end of a line, or between the end of the object and the
period.  It also doesn't say whether a block of whitespace can contain both
spaces and tabs, or whether whitespace must be all one or the other.

See changeset 1010 (Change whitespace from TOKEN to description )
https://dvcs.w3.org/hg/rdf/rev/a5b41d9a9d54

So I guess it's more accurate to say the specification of whitespace was
not so much moved as dropped from the grammar.

Simon

Received on Thursday, 29 June 2017 20:39:35 UTC