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

Re: parsing lists of CURIES

From: Dan Connolly <connolly@w3.org>
Date: Thu, 04 Feb 2010 02:03:26 -0600
To: Mark Birbeck <mark.birbeck@webbackplane.com>
Cc: public-rdf-in-xhtml-tf <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1265270606.3812.615.camel@pav.lan>
On Thu, 2010-02-04 at 07:22 +0000, Mark Birbeck wrote:
> Hi Dan,
> 
> > 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.
> 
> Section 2.1 says that all the attributes are whitespace separated.

OK, but that section is informative.

I'm struggling with stuff that seems to be specified several
different times in the spec. Section 6 seems to re-specify
stuff from section 5 without any clear boundary. You're
pointing out that section 5.4.4 overlaps with section 2.1;
I don't see any cross-refences between them.

If something is going to appear in >1 place for convenience,
please have all but one of them refer to the main place.

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



-- 
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 08:03:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 4 February 2010 08:03:28 GMT