summaryrefslogtreecommitdiffstats
path: root/test/xml/cdata-1/input.xml
diff options
context:
space:
mode:
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>