W3C home > Mailing lists > Public > public-gld-comments@w3.org > September 2013

Re: [QB] Samples with small typo?

From: Christopher Gutteridge <cjg@ecs.soton.ac.uk>
Date: Fri, 13 Sep 2013 10:39:49 +0100
Message-ID: <EMEW3|1b3fff26a28b3add469cc510da7b1b2ap8CAdq03cjg|ecs.soton.ac.uk|5232DD65.3010400@ecs.soton.ac.uk>
To: Dave Reynolds <dave.e.reynolds@gmail.com>
CC: Ghislain Atemezing <auguste.atemezing@eurecom.fr>, "public-gld-comments@w3.org" <public-gld-comments@w3.org>
Ah, that's good news.

On 13/09/2013 10:20, Dave Reynolds wrote:
> On 13/09/13 10:06, Ghislain Atemezing wrote:
>> Hi Christopher,
>> Thanks for the highlights ;)
>>> The issue is that in turtle, and some other languages, with the form
>>>
>>> prefix + ":" + name
>>>
>>> to describe an abbreviated URI, the first character of the name 
>>> can't be
>>> a digit. see
>>> http://www.w3.org/TeamSubmission/turtle/#nameStartChar
>>> vs
>>> http://www.w3.org/TeamSubmission/turtle/#nameChar
>>>
>>> This is a pain we seem to be stuck with. Some turtle parsers are more
>>> relaxed and will parse it, even though it's not legal. Others are more
>>> strict.
>> I had the error with turtle parser of open Sesame (openrdf.rio) and
>> http://www.rdfabout.com/demo/validator/. But it passes with your checker
>> tool ;)
>
> Actually leading digits in the local name part are perfectly legal in 
> Turtle as currently defined and should be allowed by any parser that 
> follows the CR document [1].
>
> The Team Submission version did indeed disallow leading digits but 
> that was changed by the working group quite some time ago. Jena, for 
> example, has implemented the CR version for a while.
>
> Cheers,
> Dave
>
> [1] http://www.w3.org/TR/turtle/#grammar-production-PN_LOCAL
>
>

-- 
Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read the ECS Web Team blog: http://blogs.ecs.soton.ac.uk/webteam/
Received on Friday, 13 September 2013 09:40:23 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 September 2013 09:40:24 UTC