Fwd: Turtle tests : Case-sensitivity of base and prefix directives

Request for a change to the Turtle grammar

 > Is it possible to make @BASE and @PREFIX case-insensitive so that the
 > traditional Turtle @ forms are equivalent to the the SPARQL forms?

 Andy

http://lists.w3.org/Archives/Public/public-rdf-comments/2012Nov/0005.html

-------- Original Message --------
Subject: Turtle tests : Case-sensitivity of base and prefix directives
Resent-Date: Fri, 16 Nov 2012 05:13:02 +0000
Resent-From: public-rdf-comments@w3.org
Date: Fri, 16 Nov 2012 15:12:34 +1000
From: Peter Ansell <ansell.peter@gmail.com>
To: public-rdf-comments@w3.org

Hi,

In the current version of the tests, HG changeset 543:a3007d234b3b,
date: Thu Nov 15 15:39:15 2012 +0000, there are two valid Turtle tests
where the base is given without @ to demonstrate the inclusion of the
Sparql Base and Prefix directives in Turtle.

turtle-syntax-base-04.ttl

     base <http://example/>

turtle-syntax-base-02.ttl

     BASE <http://example/>

However, there is also a bad test where the base is given in upper-case 
with @.

turtle-syntax-bad-base-02.ttl

     @BASE <http://example/> .

Is it possible to make @BASE and @PREFIX case-insensitive so that the
traditional Turtle @ forms are equivalent to the the SPARQL forms?

In addition, the comment in turtle-syntax-bad-base-02.ttl doesn't seem
to match the test, as it seems like there is a URI to go with the
@BASE (as long as @BASE is case-insensitive):

     # @base without URI.

Thanks,

Peter

Received on Friday, 16 November 2012 10:06:23 UTC