summaryrefslogtreecommitdiff
path: root/t/foo.dtd
diff options
context:
space:
mode:
authorLorry <lorry@roadtrain.codethink.co.uk>2012-05-21 16:44:15 +0100
committerLorry <lorry@roadtrain.codethink.co.uk>2012-05-21 16:44:15 +0100
commit891c29af147fcbe6c4dd5d8ffbbb426665d4b558 (patch)
treecd26f770e9f8dc426e40761fc50da03ac1a18921 /t/foo.dtd
downloadXML-Parser-891c29af147fcbe6c4dd5d8ffbbb426665d4b558.tar.gz
Tarball conversion
Diffstat (limited to 't/foo.dtd')
-rw-r--r--t/foo.dtd20
1 files changed, 20 insertions, 0 deletions
diff --git a/t/foo.dtd b/t/foo.dtd
new file mode 100644
index 0000000..fb026bf
--- /dev/null
+++ b/t/foo.dtd
@@ -0,0 +1,20 @@
+<?xml encoding="x-sjis-unicode"?>
+<!ENTITY joy "™D">
+
+<!ATTLIST foo zz CDATA 'here'>
+
+<!ENTITY % bar 'IGNORE'>
+<!ENTITY % foo 'IGNORE'>
+
+<!ENTITY more SYSTEM 'ext2.ent'>
+
+<!ENTITY % ext SYSTEM 'ext.ent'>
+%ext;
+
+<![%bar;[
+<!ATTLIST bar xyz (a|b|c) 'b'>
+]]>
+
+<![%foo;[
+<!ATTLIST foo top CDATA "hello">
+]]>