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