summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-21.rdf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rdfxml/ex-21.rdf')
-rw-r--r--tests/rdfxml/ex-21.rdf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rdfxml/ex-21.rdf b/tests/rdfxml/ex-21.rdf
new file mode 100644
index 0000000..f6b95b9
--- /dev/null
+++ b/tests/rdfxml/ex-21.rdf
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rd="http://example.org/foo#"
+ xmlns:r="http://example.org/bar#">
+ <!-- Tests that the rdf prefix is recognised correctly -->
+ <rdf:Description rdf:about="http://example.org/thing1" rd:type="val1" r:type="val2" />
+ <rd:Description rdf:about="http://example.org/thing2" r:prop1="val1" />
+ <r:Description r:about="http://example.org/thing3" r:prop1="val1" />
+</rdf:RDF>