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

Re: Local names may now start with a digit?

From: Gavin Carothers <gavin@carothers.name>
Date: Thu, 28 Jun 2012 08:48:56 -0700
Message-ID: <CAPqY83wWaTYoT=F=eiLA5AC24Cd0qfJ+pm8ucq=QAqajkPWepA@mail.gmail.com>
To: David Booth <david@dbooth.org>
Cc: public-rdf-comments <public-rdf-comments@w3.org>
On Thu, Jun 28, 2012 at 8:41 AM, David Booth <david@dbooth.org> wrote:
> I notice that the Turtle grammar now permits a local name to begin with
> a digit, such as foo:1234 or _:5678 .
> http://www.w3.org/TR/turtle/#term-turtle2-PN_LOCAL
> As far as I remember, this is a divergence from RDF/XML, because XML
> local names are not permitted to start with a digit.  When I check the
> RDF WG list of resolutions I see no mention of this change, so
> I am wondering about the rationale for this change, but I see no mention
> of it in the RDF WG list of resolutions:
> http://demo.3roundstones.net/rdf/2012/rdfwg/resolutions.xhtml?view
> Was this divergence discussed?  And if so, can someone please supply a
> pointer to the rationale?


Part of the alignment of Turtle with SPARQL 1.0 and SPARQL 1.1, both
of which allow for local names that start with digits. The RDF data
model has always allowed for any IRI to be used, this in fact meant
that there is valid RDF that cannot be expressed in RDF/XML.

Thank you for your comment. I hope that clears up your question.

> Thanks!
> --
> David Booth, Ph.D.
> http://dbooth.org/
> Opinions expressed herein are those of the author and do not necessarily
> reflect those of his employer.
Received on Thursday, 28 June 2012 15:49:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:53 UTC