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

This comment on Turtle applies to SPARQL as well (the Turtle grammar is 
copied from the SPARQL grammar at this point).

The fix is easy (= I have done it in ARQ and am testing it out).

Some syntax tests, good and bad, to formally pin this down should be 
done and I'll provide them.

As relates to formally deciding on LC today, I'm open to either delaying 
for two weeks or to deciding today conditional on making the change to 
doc and some tests in the next 2 days or so.

 Andy

-------- Original Message --------
http://lists.w3.org/Archives/Public/public-rdf-comments/2012Jul/0006.html

Subject: Turtle: Prefixes now can contain colons (":")?
Date: Sat, 14 Jul 2012 22:40:50 +0200
From: Mathias Hasselmann <mathias@taschenorakel.de>
To: public-rdf-comments@w3.org

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 13:28:50 UTC