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

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

From: Dan Connolly <connolly@w3.org>
Date: 18 Jul 2002 17:00:10 -0500
To: Brian McBride <bwm@hplb.hpl.hp.com>
Cc: RDF Core <w3c-rdfcore-wg@w3.org>
Message-Id: <1027029610.27663.430.camel@dirk>

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?


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Thursday, 18 July 2002 18:00:06 EDT

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