summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-23.rdf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/rdfxml/ex-23.rdf
parentInitial commit. (diff)
downloadraptor2-4038ab95a094b363f1748f3dcb51511a1217475d.tar.xz
raptor2-4038ab95a094b363f1748f3dcb51511a1217475d.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/rdfxml/ex-23.rdf')
-rw-r--r--tests/rdfxml/ex-23.rdf27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/rdfxml/ex-23.rdf b/tests/rdfxml/ex-23.rdf
new file mode 100644
index 0000000..72a5dc2
--- /dev/null
+++ b/tests/rdfxml/ex-23.rdf
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://www.example.org/ns1#" >
+
+ <!-- Test embedded parseType resources works ok -->
+
+ <foo> <!-- node subject genid 1 -->
+
+ <bar rdf:parseType="Resource"> <!-- object of 'bar' is genid 2 -->
+
+ <prop1 rdf:parseType="Resource"> <!-- object of 'prop1' is genid 3 -->
+ <rdf:type rdf:resource="http://www.example.org/ns1#Type1"/>
+ </prop1>
+
+ <prop2 rdf:parseType="Resource"> <!-- object of 'prop2' is genid 4 -->
+ <rdf:type rdf:resource="http://www.example.org/ns1#Type2"/>
+ </prop2>
+
+ <prop3 rdf:parseType="Resource"> <!-- object of 'prop3' is genid 5 -->
+ <rdf:type rdf:resource="http://www.example.org/ns1#Type3"/>
+ </prop3>
+
+ </bar>
+
+ </foo>
+
+</rdf:RDF>