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

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

From: Gavin Carothers <gavin@carothers.name>
Date: Mon, 16 Jul 2012 20:43:45 -0700
Message-ID: <CAPqY83z3QCPVA6+tPnPdi6v9yvupMFtt-yx7VUSD4ecq2oA3dg@mail.gmail.com>
To: Mathias Hasselmann <mathias@taschenorakel.de>
Cc: public-rdf-comments@w3.org
On Sat, Jul 14, 2012 at 1: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?

Yes.
http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html#sec-changelog

The other major grammar addition is the support for PREFIX (without
the @) as seen in SPARQL.

--Gavin

>
> Thank you,
> Mathias
>
>
>
>
Received on Tuesday, 17 July 2012 03:44:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:30 UTC