summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-62.rdf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rdfxml/ex-62.rdf24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/rdfxml/ex-62.rdf b/tests/rdfxml/ex-62.rdf
new file mode 100644
index 0000000..f23d47f
--- /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>