W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > July 2002

Re: daml:collection is just Literal test: need help with details [was: current action list]

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Thu, 18 Jul 2002 23:26:03 +0100
To: Dan Connolly <connolly@w3.org>
cc: Brian McBride <bwm@hplb.hpl.hp.com>, RDF Core <w3c-rdfcore-wg@w3.org>
Message-ID: <28807.1027031163@tatooine.ilrt.bris.ac.uk>

>>>Dan Connolly said:
> 
> On Thu, 2002-07-18 at 16:31, Brian McBride wrote:
> [...]
> > 2002-02-26#2 DanC Create test case for daml:collection behaves like Literal
> 
> Thanks for keeping that one from falling between the cracks.
> 
> 
> Here's a sketch; it's a parser test.
> 
> .rdf input:
> 
> 	<rdf:Description>
> 	  <ex:brothers rdf:parseType="daml:collection">
> 	    <rdf:Description rdf:about="http://example/#Fred"/>
> 	    <rdf:Description rdf:about="http://example/#Bob"/>
> 	  </ex:brothers>
>         </rdf:Description>
> 
> and the .nt has just one triple:
> 
>   _:something ex:brothers xml"<rdf:Description ...".
> 
> Sorry, I haven't managed to implement parseType="Literal",
> so I can't easily come up with the details.
> 
> Anybody out there got a parser that does xml"" stuff? DaveB?
> Would you please fill in the blanks for me?

I got

_:something <http://example.org/brothers> xml"\n    <rdf:Description rdf:about=\"http://example/#Fred\"></rdf:Description>\n    <rdf:Description rdf:about=\"http://example/#Bob\"></rdf:Description>\n  " .

modulo different numbers of spaces, tabs and newlines etc.

Dave
Received on Thursday, 18 July 2002 18:26:14 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:49:52 EDT