diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-12-01 20:12:40 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-04-01 20:52:07 +0300 |
commit | 982a13b902e3c7989e10ca2ba6604ce6465a7253 (patch) | |
tree | f0e12f09e6a17c6db6df9ff6e0b0131481eca50c /libxerces-c/tests/reader-mgr/links.ent | |
parent | 1a1828648f3c06580ffe7a9f78c557a9e73c5bcd (diff) |
Add ReaderMgr test
Diffstat (limited to 'libxerces-c/tests/reader-mgr/links.ent')
-rw-r--r-- | libxerces-c/tests/reader-mgr/links.ent | 24 |
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 |