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