summaryrefslogtreecommitdiff
path: root/libxerces-c/tests/reader-mgr/links.ent
diff options
context:
space:
mode:
Diffstat (limited to 'libxerces-c/tests/reader-mgr/links.ent')
-rw-r--r--libxerces-c/tests/reader-mgr/links.ent24
1 files changed, 24 insertions, 0 deletions
diff --git a/libxerces-c/tests/reader-mgr/links.ent b/libxerces-c/tests/reader-mgr/links.ent
new file mode 100644
index 0000000..a8f9fd4
--- /dev/null
+++ b/libxerces-c/tests/reader-mgr/links.ent
@@ -0,0 +1,24 @@
+<?xml encoding='ISO-8859-1'?>
+
+<!-- LINKS ENTITY -->
+<!ENTITY % links "link|anchor|jump|img|resource-ref|human-resource-ref">
+
+<!ELEMENT anchor EMPTY>
+<!ATTLIST anchor name NMTOKEN #REQUIRED>
+
+<!ELEMENT img EMPTY>
+<!ATTLIST img src CDATA #REQUIRED
+ alt CDATA #REQUIRED>
+
+<!ELEMENT link (#PCDATA|img)*>
+<!ATTLIST link idref NMTOKEN #IMPLIED
+ anchor CDATA #IMPLIED>
+
+<!ELEMENT jump (#PCDATA|img)*>
+<!ATTLIST jump href CDATA #REQUIRED>
+
+<!-- cross-reference resource elements -->
+<!ELEMENT resource-ref EMPTY>
+<!ATTLIST resource-ref idref CDATA #REQUIRED>
+<!ELEMENT human-resource-ref EMPTY>
+<!ATTLIST human-resource-ref idref CDATA #REQUIRED> \ No newline at end of file