summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/bad-06.rdf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rdfxml/bad-06.rdf')
-rw-r--r--tests/rdfxml/bad-06.rdf12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rdfxml/bad-06.rdf b/tests/rdfxml/bad-06.rdf
new file mode 100644
index 0000000..b5ec6c6
--- /dev/null
+++ b/tests/rdfxml/bad-06.rdf
@@ -0,0 +1,12 @@
+<?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 forbidden but generally ignored on literal property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:bagID="bag1">val</ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>