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

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

From: Mathias Hasselmann <mathias@taschenorakel.de>
Date: Sat, 14 Jul 2012 22:40:50 +0200
Message-ID: <1342298450.24148.5.camel@smarty>
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 Monday, 16 July 2012 05:28:21 UTC

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