summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/bad-05.rdf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rdfxml/bad-05.rdf')
-rw-r--r--tests/rdfxml/bad-05.rdf13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rdfxml/bad-05.rdf b/tests/rdfxml/bad-05.rdf
new file mode 100644
index 0000000..d132302
--- /dev/null
+++ b/tests/rdfxml/bad-05.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID is forbidden but generally ignored on
+ resource property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:bagID="bag1" rdf:resource="http://example.org/node2" />
+ </rdf:Description>
+
+</rdf:RDF>