summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/bad-04.rdf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rdfxml/bad-04.rdf11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rdfxml/bad-04.rdf b/tests/rdfxml/bad-04.rdf
new file mode 100644
index 0000000..871c065
--- /dev/null
+++ b/tests/rdfxml/bad-04.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- Check rdf:ID rdf:bagID shared names fail -->
+
+ <rdf:Description rdf:ID="foo" rdf:bagID="foo">
+ <ex:prop>bar2</ex:prop>
+ </rdf:Description>
+
+</rdf:RDF>