summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-26.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-26.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-26.rdf')
-rw-r--r--tests/rdfxml/ex-26.rdf12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rdfxml/ex-26.rdf b/tests/rdfxml/ex-26.rdf
new file mode 100644
index 0000000..46ab6da
--- /dev/null
+++ b/tests/rdfxml/ex-26.rdf
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE rdf:RDF [
+ <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
+ <!ENTITY a 'http://example.org/#'>
+]>
+<!-- check entities get expanded in attributes -->
+<rdf:RDF xmlns:rdf="&rdf;"
+ xmlns:a="&a;">
+ <a:foo rdf:about="&a;blah">
+ <a:prop>content</a:prop>
+ </a:foo>
+</rdf:RDF>