summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/bad-09.rdf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rdfxml/bad-09.rdf')
-rw-r--r--tests/rdfxml/bad-09.rdf15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/rdfxml/bad-09.rdf b/tests/rdfxml/bad-09.rdf
new file mode 100644
index 0000000..7c615ba
--- /dev/null
+++ b/tests/rdfxml/bad-09.rdf
@@ -0,0 +1,15 @@
+<?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
+ parseTypeCollection property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:parseType="Collection" rdf:bagID="bag1">
+ <rdf:Description rdf:about="http://example.org/node2/" />
+ </ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>