summaryrefslogtreecommitdiff
path: root/test/errors/content1.xml
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2012-09-18 01:15:22 +0800
committerAron Xu <aron@debian.org>2012-09-18 01:15:22 +0800
commitf660f9d2924c7549bc87e7f9b4ece7c9727b3682 (patch)
tree816b3ef0e89d1601803b5dc1b90b50ade0567043 /test/errors/content1.xml
parentd7372d053bbd1d58216fbb04d1771ffa4cc3e624 (diff)
downloadlibxml2-upstream/2.9.0.tar.gz
Imported Upstream version 2.9.0upstream/2.9.0
Diffstat (limited to 'test/errors/content1.xml')
-rw-r--r--test/errors/content1.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/errors/content1.xml b/test/errors/content1.xml
new file mode 100644
index 0000000..7264694
--- /dev/null
+++ b/test/errors/content1.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE root [
+<!ELEMENT root (#PCDATA)>
+<!ELEMENT a ANY>
+<!ELEMENT b ANY>
+<!--* missing closing bracket in choice *-->
+<!ELEMENT aElement (a |b * >
+]>
+<root>Any content</root>
+