summaryrefslogtreecommitdiff
path: root/test/ent_738805.xml
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2014-10-23 13:52:47 +0800
committerDaniel Veillard <veillard@redhat.com>2014-10-23 13:52:47 +0800
commitdf23f584fda15955a0811bd768a8925eb98741c9 (patch)
tree122174dc40d12c8bcfbfd4142be62a9892844ef4 /test/ent_738805.xml
parent72a46a519ce7326d9a00f0b6a7f2a8e958cd1675 (diff)
downloadlibxml2-df23f584fda15955a0811bd768a8925eb98741c9.tar.gz
Adding example from bugs 738805 to regression tests
For https://bugzilla.gnome.org/show_bug.cgi?id=738805 Tortuous test case provided by pierre.labastie@neuf.fr
Diffstat (limited to 'test/ent_738805.xml')
-rw-r--r--test/ent_738805.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/ent_738805.xml b/test/ent_738805.xml
new file mode 100644
index 00000000..9ec70b17
--- /dev/null
+++ b/test/ent_738805.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE somedoc [
+ <!ENTITY a "something">
+ <!ENTITY b "&a;">
+]>
+
+<somedoc>
+
+<somebeacon someattribute="&b;"/>
+
+&a; should appear after colon: &a;
+&b; should appear after colon: &a;
+&a; should appear after colon: &b;
+&b; should appear after colon: &b;
+
+</somedoc>