Added resolver tests

git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225980 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ndw 2002-06-14 15:49:46 +00:00
parent 05e24ba410
commit 526e262afd
6 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,2 @@
PUBLIC "-//Apache//DTD Resolver Test V1.0//EN"
"../dtds/restest.dtd"

View File

@ -0,0 +1,2 @@
PUBLIC "-//Apache//ENTITIES Resolver Test Module V1.0//EN"
"../dtds/res1.mod"

View File

@ -0,0 +1,4 @@
CATALOG catalog.sub1
CATALOG catalog.sub2
BASE ".."
CATALOG foo

View File

@ -0,0 +1,2 @@
<!ELEMENT foo EMPTY>
<!ELEMENT bar EMPTY>

View File

@ -0,0 +1,7 @@
<!ELEMENT test (foo|bar)+>
<!ENTITY % mod PUBLIC "-//Apache//ENTITIES Resolver Test Module V1.0//EN"
"http://example.com/does-not-exist">
%mod;

View File

@ -0,0 +1,5 @@
<!DOCTYPE test PUBLIC "-//Apache//DTD Resolver Test V1.0//EN"
"http://example.com/does-not-exist">
<test>
<foo/>
</test>