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:
1 parent
05e24ba410
commit
526e262afd
6 files changed
+22
No files matched your search
@@ -0,0 +1,2 @@
|
||||
PUBLIC "-//Apache//DTD Resolver Test V1.0//EN"
|
||||
"../dtds/restest.dtd"
|
||||
@@ -0,0 +1,2 @@
|
||||
PUBLIC "-//Apache//ENTITIES Resolver Test Module V1.0//EN"
|
||||
"../dtds/res1.mod"
|
||||
@@ -0,0 +1,4 @@
|
||||
CATALOG catalog.sub1
|
||||
CATALOG catalog.sub2
|
||||
BASE ".."
|
||||
CATALOG foo
|
||||
@@ -0,0 +1,2 @@
|
||||
<!ELEMENT foo EMPTY>
|
||||
<!ELEMENT bar EMPTY>
|
||||
@@ -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;
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE test PUBLIC "-//Apache//DTD Resolver Test V1.0//EN"
|
||||
"http://example.com/does-not-exist">
|
||||
<test>
|
||||
<foo/>
|
||||
</test>
|
||||
Reference in new issue
Block a user