The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=556 ====================================================================== Reported By: nxsofsys Assigned To: ====================================================================== Project: Raptor RDF Syntax Library Issue ID: 556 Category: api Reproducibility: always Severity: minor Priority: normal Status: new Syntax Name: ====================================================================== Date Submitted: 2013-10-11 20:56 Last Modified: 2013-10-11 20:56 ====================================================================== Summary: Problem with relative URI in rdf:about, rdf:resource etc. Description: Hello,
Raptor can't correctly parse following rdf/xml with relative URI: <?xml version="1.0"?> <!DOCTYPE rdf:RDF [ <!ENTITY corp "http://www.p1234.xyz-corp.com/folder1/folder2/"> ]> <rdf:RDF xml:base="http://www.p1234.xyz-corp.com/folder1/folder2/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > <rdf:Description rdf:about="../entity1"> <rdfs:comment>Item1</rdfs:comment> </rdf:Description> <rdf:Description rdf:about="../folder1/../entity1"> <rdfs:comment>Item1 continue</rdfs:comment> </rdf:Description> <rdf:Description rdf:about="&corp;../folder1/../entity1"> <rdfs:comment>Item1 continue 2</rdfs:comment> </rdf:Description> </rdf:RDF> Below are subjects which were generated by Raptor: http://www.p1234.xyz-corp.com/folder1/../entity1 http://www.p1234.xyz-corp.com/folder1/folder2/../folder1/../entity1 But "http://www.p1234.xyz-corp.com/folder1/entity1" expected in all cases. Thanks, Ilya ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-10-11 20:56 nxsofsys New Issue 2013-10-11 20:56 nxsofsys File Added: sample.rdf ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
