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

Whitespace should be allowed before and after a Query or Update

From: David Booth <david@dbooth.org>
Date: Fri, 25 May 2012 15:07:27 -0400
To: public-rdf-dawg-comments <public-rdf-dawg-comments@w3.org>
Message-ID: <1337972847.2090.10159.camel@dbooth-laptop>
I mention this because one SPARQL server that I just tried barfed on a
query that began with a comment, which seem rather unfriendly.

When I checked the SPARQL spec I see that section 19.4 says that
comments are treated as white space
but the discussion of whitespace in sec 19.3
says that whitespace is used to *separate* two terminals.  

Thus AFAICT, as currently written the spec currently forbids whitespace
before and after a Query or Update, which certainly seems wrong, as
whitespace (or comments) should be allowed both before and after.


David Booth, Ph.D.

Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.
Received on Friday, 25 May 2012 19:07:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:12 UTC