W3C home > Mailing lists > Public > public-rdf-wg@w3.org > October 2013

[Turtle CR Issue] whitespace before '.' and ';'

From: Eric Prud'hommeaux <eric@w3.org>
Date: Wed, 2 Oct 2013 08:25:11 -0400
To: RDF WG <public-rdf-wg@w3.org>
Message-ID: <20131002122510.GC1493@w3.org>
We have two issues going back to Feb with people requesting whitespace
before '.' and ';', i.e.

  <s> <p> <o> . # good
  <s> <p> <o>. # bad
  <s> <p> <o> ; <p2> <o2> . # good
  <s> <p> <o>; <p2> <o2> . # bad

We discussed the grammar at length but this never came up. Proposal:
answer comments 1 and 2 with "The RDF Working Group believes that
introducing a requirement for whitespace before '.' and ';' will break
a considerable fraction of the deployed Turtle and introduce
unfortunate incompatibilities with SPARQL and Notation3." Note that
commentor 1 is responding to lookahead required when implementing a
parser without a separate greedy lexer and commenter 2 is backing up 1
with a usability argument.

Comments: <http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#Issues>
comment 1: http://www.w3.org/mid/1361141033.16176.30.camel@verne.drobilla.net
comment 2: http://www.w3.org/mid/1361211939.4549.115.camel@dbooth-w530
-- 
-ericP
Received on Wednesday, 2 October 2013 12:25:45 UTC

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