summaryrefslogtreecommitdiffstats
path: root/test/xml/cdata-1/input.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/xml/cdata-1/input.xml
parentInitial commit. (diff)
downloadliborcus-c484829272cd13a738e35412498e12f2c9a194ac.tar.xz
liborcus-c484829272cd13a738e35412498e12f2c9a194ac.zip
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/xml/cdata-1/input.xml')
-rw-r--r--test/xml/cdata-1/input.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/xml/cdata-1/input.xml b/test/xml/cdata-1/input.xml
new file mode 100644
index 0000000..d5f4e5f
--- /dev/null
+++ b/test/xml/cdata-1/input.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<root>
+ <header><![CDATA[simple text]]></header>
+ <header><![CDATA[[[inside double braces]]]]></header>
+ <header><![CDATA[multiple]]><![CDATA[CDATA]]><![CDATA[in succession]]></header>
+ <header><![CDATA[<html><body>...</body></html>]]></header><!-- make sure tags are not parsed as xml -->
+ <header><![CDATA[!@#$%^&*()]]></header>
+ <header><![CDATA[$amp;]]></header><!-- encoded characters are taken literally without decoding -->
+ <header>Normal character data and <![CDATA[CDATA]]></header>
+</root>