W3C home > Mailing lists > Public > public-rdf-wg@w3.org > July 2012

Re: Turtle: Prefixes now can contain colons (":")?

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Tue, 17 Jul 2012 15:48:54 +0100
Message-ID: <50057B56.2030200@epimorphics.com>
To: public-rdf-wg@w3.org
It's a (minor) grammar bug (Turtle and SPARQL), not an intended design 
decision.

	Andy

On 17/07/12 07:43, Jeremy Carroll wrote:
> Hmmm
>
> have I missed a discussion on this but doesn't this change make
>
> a:b:c
>
> ambiguous?
>
> Jeremy
>
>
> On Sat, Jul 14, 2012 at 9:40 PM, Mathias Hasselmann
> <mathias@taschenorakel.de> wrote:
>> Hello,
>>
>> When adopting code for the updated grammar I've noticed that that
>> addition of colons to local names also injected colons to PN_PREFIX:
>>
>> http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html#grammar-production-PN_PREFIX
>>
>> [167s]  PN_PREFIX       ::=     PN_CHARS_BASE ((PN_CHARS | '.')* PN_CHARS)?
>> [166s]  PN_CHARS        ::=     PN_CHARS_U | '-' | [0-9] | #00B7 | [#0300-#036F] | [#203F-#2040]
>> [164s]  PN_CHARS_U      ::=     PN_CHARS_BASE | '_' | ':'
>>                                                       ^^^^^
>> Is that intentional?
>>
>> Thank you,
>> Mathias
>>
>>
>>
>>
>
Received on Tuesday, 17 July 2012 14:49:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:49 GMT