parsing lists of CURIES

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