Adding document catalog complex.xml
Local resolve: sysID http://example.org/bac.dtd
Parsing catalog complex.xml
complex.xml added to file hash
example.org.xml not found in file hash
Parsing catalog example.org.xml
example.org.xml added to file hash
Trying system delegate example.org.xml
b.example.org.xml not found in file hash
Parsing catalog b.example.org.xml
b.example.org.xml added to file hash
Trying system delegate b.example.org.xml
Using rewriting rule http://example.org/b
Local resolve: sysID http://example.org/b/b.dtd
Trying system delegate example.org.xml
Trying system delegate b.example.org.xml
Using rewriting rule http://example.org/b
Local resolve: sysID http://example.org/a/a.dtd
Trying system delegate example.org.xml
a.example.org.xml not found in file hash
Parsing catalog a.example.org.xml
a.example.org.xml added to file hash
Trying system delegate a.example.org.xml
Using rewriting rule http://example.org/a
Local resolve: sysID http://example.org/c/c.dtd
Trying system delegate example.org.xml
c.example.org.xml not found in file hash
Parsing catalog c.example.org.xml
c.example.org.xml added to file hash
Using rewriting rule http://example.org/c
<?xml version="1.0"?>
<?oasis-xml-catalog catalog="complex.xml"?>
<!DOCTYPE bac SYSTEM "http://example.org/bac.dtd">
<bac>
  <b/>
  <a/>
  <c/>
</bac>
Adding document catalog complex.xml
Local resolve: sysID http://example.org/abc.dtd
Found complex.xml in file hash
Trying system delegate example.org.xml
Trying system delegate a.example.org.xml
Using rewriting rule http://example.org/a
Local resolve: sysID http://example.org/a/a.dtd
Trying system delegate example.org.xml
Trying system delegate a.example.org.xml
Using rewriting rule http://example.org/a
Local resolve: sysID http://example.org/b/b.dtd
Trying system delegate example.org.xml
Trying system delegate b.example.org.xml
Using rewriting rule http://example.org/b
Local resolve: sysID http://example.org/c/c.dtd
Trying system delegate example.org.xml
Using rewriting rule http://example.org/c
Free catalog entry complex.xml
<?xml version="1.0"?>
<?oasis-xml-catalog catalog="complex.xml"?>
<!DOCTYPE abc SYSTEM "http://example.org/abc.dtd">
<abc>
  <a/>
  <b/>
  <c/>
</abc>
Catalogs cleanup
Free catalog entry http://example.org/c
Free catalog entry http://example.org/
Free catalog entry c.example.org.xml
Free catalog entry http://example.org/
Free catalog entry complex.xml
Free catalog entry http://example.org/a
Free catalog entry http://example.org/b
Free catalog entry c.example.org.xml
Free catalog entry example.org.xml
Free catalog entry http://example.org/a
Free catalog entry c.example.org.xml
Free catalog entry a.example.org.xml
Free catalog entry http://example.org/b
Free catalog entry c.example.org.xml
Free catalog entry b.example.org.xml
