W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2010

parsing lists of CURIES

From: Dan Connolly <connolly@w3.org>
Date: Wed, 03 Feb 2010 23:13:52 -0600
To: public-rdf-in-xhtml-tf <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1265260432.3812.593.camel@pav.lan>
how many CURIEs in this attribute?

 typeof="foaf:Person ***foaf:Agent 123412:abc owl:Thingfoaf:Agent"

I don't see anything in the spec about how to split an
attribute value into a list of curies.

Do I split by whitespace and then throw out the non-curies?
(such as ***foaf:Agent, leaving just 1 CURIE, foaf:Person)

Or do I find all occurrences of CURIE syntax?
i.e. 4 CURIES: foaf:Person, foaf:Agent, owl:Thingfoaf
and Thingfoaf:Agent?

or all non-overlapping occurrences? i.e. 3

What if foaf: is bound but owl: isn't?

Are there relevant test cases? I hope we come up with some.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
gpg D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Thursday, 4 February 2010 05:13:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:34 UTC