summaryrefslogtreecommitdiffstats
path: root/libxml2/test/xml2
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/xml2')
-rw-r--r--libxml2/test/xml28
1 files changed, 8 insertions, 0 deletions
diff --git a/libxml2/test/xml2 b/libxml2/test/xml2
new file mode 100644
index 0000000..922314b
--- /dev/null
+++ b/libxml2/test/xml2
@@ -0,0 +1,8 @@
+<?xml version='1.0'?>
+<!DOCTYPE test [
+<!ELEMENT test (#PCDATA) >
+<!ENTITY % xx '&#37;zz;'>
+<!ENTITY % zz '&#60;!ENTITY tricky "error-prone" >' >
+%xx;
+]>
+<test>This sample shows a &tricky; method.</test>