W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2001

[www-rdf-interest] <none>

From: <tarod@softhome.net>
Date: Fri, 02 Nov 2001 14:27:02 GMT
Message-ID: <20011102142702.1934.qmail@softhome.net>
To: www-rdf-interest@w3.org
Cc: melnik@db.stanford.edu

  last days I was having some problems parsing documents with rdf like
this:

<RDF:Seq RDF:about="urn:one">
	<RDF:li>
		<RDF:Seq RDF:about="urn:two">
		    <RDF:li RDF:resource="urn:three"/>
		</RDF:Seq>		
	</RDF:li>
</RDF:Seq>

but there was no problems parsing

<a:A RDF:about="urn:one">
	<RDF:li>
		<a:A RDF:about="urn:two">
		    <RDF:li RDF:resource="urn:three"/>
		</a:A>		
	</RDF:li>
</a:A>

  so, I guessed you can have a typedNode inside another typed node but you
can't have a container inside in another container, if you want to use
SiRPAC to parse it, it fails. (The model and syntax allows it)

  Finally I surfed in the code of rdf-api and I decided to modify it, now,
it works more as refactoring explains, there are no containers, all
rdf:Seq, rdf:Alt and rdf:Bag are read as typedNodes, and it seems to work,
is anybody mantaining this api? I want to contribute with anybody that does
it to help to improve this api.

  Thanks,
         Marc
Received on Friday, 2 November 2001 10:02:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:52 GMT