summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-49.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-49.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-49.rdf')
-rw-r--r--tests/rdfxml/ex-49.rdf14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rdfxml/ex-49.rdf b/tests/rdfxml/ex-49.rdf
new file mode 100644
index 0000000..0e00ea1
--- /dev/null
+++ b/tests/rdfxml/ex-49.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.com/properties/">
+
+ <!-- Check attributes are properly encoded when building the XML string -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:prop1 rdf:parseType="Literal"> <foo href="http://example.org?foo=1&amp;bar=2">hmm</foo> </ex:prop1>
+ <ex:prop2 rdf:parseType="Literal"> <bar a="&apos;"/> </ex:prop2>
+ <ex:prop3 rdf:parseType="Literal"> <baz b="&quot;"/> </ex:prop3>
+ <ex:prop4 rdf:parseType="Literal"> <baz b="&lt;&gt;"/> </ex:prop4>
+ </rdf:Description>
+
+</rdf:RDF>