W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 2000

Bug parsing containers in SiRPAC 1.14?

From: Jeen Broekstra <jeen.broekstra@aidministrator.nl>
Date: Fri, 29 Sep 2000 10:50:44 +0200 (MET DST)
To: www-rdf-comments@w3.org
Message-ID: <Pine.GSO.4.20.0009291043110.615-100000@olsmg.aidministrator.com>

Hello,

it seems I have stumbled upon a glitch in SiRPAC. Since the SiRPAC page
says bug reports should be posted here....

I tried to give this as input:

<?xml version='1.0'?> 
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
   
   <rdf:Bag rdf:ID="result1">
    	<rdf:li><rdf:Seq>
     		<rdf:li rdf:resource="ns1#creates"/>
     		<rdf:li rdf:resource="ns1#Artifact"/>
      	    </rdf:Seq>
      	</rdf:li>
    	<rdf:li><rdf:Seq>
     		<rdf:li rdf:resource="ns1#paints"/>
     		<rdf:li rdf:resource="ns1#Painting"/>
      	    </rdf:Seq>
      	</rdf:li>
    	<rdf:li><rdf:Seq>
     		<rdf:li rdf:resource="ns1#creates"/>
     		<rdf:li rdf:resource="ns1#Paiting"/>
      	    </rdf:Seq>
      	</rdf:li>
    </rdf:Bag>
</rdf:RDF>

and get the following triples back (URIs trimmed for clarity):

triple("type","result1","Bag").
triple("type","genid1","Seq").
triple("_1","genid1","ns1#creates").
triple("_2","genid1","ns1#Artifact").
triple("_1","result1","null").
triple("type","genid2","Seq").
triple("_1","genid2","ns1#paints").
triple("_2","genid2","ns1#Painting").
triple("_2","result1","null").
triple("type","genid3","Seq").
triple("_1","genid3","ns1#creates").
triple("_2","genid3","ns1#Paiting").
triple("_3","result1","null").

The trouble is with the three triples with a "null" value. I would have
expected that these would point to "genid1", "genid2" and "genid3",
respectively. 

Apparantly SiRPAC has trouble parsing container elements that contains
inline elements themselves.

I would be very interested to hear if an easy fix is possible.


Regards,

Jeen
-- 
jeen.broekstra@aidministrator.nl
aidministrator nederland bv - http://www.aidministrator.nl/ 
julianaplein 14b, 3817 cs amersfoort, the netherlands
tel. +31-(0)33-4659987, fax. +31-(0)33-4659987
Received on Friday, 29 September 2000 04:49:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:27 GMT