diff options
-rw-r--r-- | tests/rdfxml/ex-62.out | 3 | ||||
-rw-r--r-- | tests/rdfxml/ex-62.rdf | 24 |
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/rdfxml/ex-62.out b/tests/rdfxml/ex-62.out new file mode 100644 index 00000000..06ed8ab4 --- /dev/null +++ b/tests/rdfxml/ex-62.out @@ -0,0 +1,3 @@ +<http://example.com/folder1/entity1> <http://www.w3.org/2000/01/rdf-schema#comment> "Item1" . +<http://example.com/folder1/entity1> <http://www.w3.org/2000/01/rdf-schema#comment> "Item2" . +<http://example.com/folder1/entity1> <http://www.w3.org/2000/01/rdf-schema#comment> "Item3" . diff --git a/tests/rdfxml/ex-62.rdf b/tests/rdfxml/ex-62.rdf new file mode 100644 index 00000000..f23d47f2 --- /dev/null +++ b/tests/rdfxml/ex-62.rdf @@ -0,0 +1,24 @@ +<?xml version="1.0"?> + +<!DOCTYPE rdf:RDF [ +<!ENTITY corp "http://example.com/folder1/folder2/"> +]> + +<rdf:RDF +xml:base="http://example.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>Item2</rdfs:comment> + </rdf:Description> + + <rdf:Description rdf:about="&corp;../folder1/../entity1"> + <rdfs:comment>Item3</rdfs:comment> + </rdf:Description> + +</rdf:RDF> |