XML catalog unexpected behavior
Posted: Sat Dec 14, 2019 4:33 am
I'm running Docbook 5.1 and I'm using XML catalog files to resolve file paths. There are 3 catalog files connected with <nextCatalog> elements.
When I add the top-level catalog to Options/Preferences/XML/XML Catalog, Docbook publishing fails because it can't resolve the file paths. But when I add the second-level catalog file to XML Catalog config, the publishing works.
Oxygen does not seem to understand the <nextCatalog> in the top-level catalog file. Here is what my catalog files look like:
1. top-level catalog file (FAILS):
2. next-catalog.xml, second-level catalog file (WORKS):
3. ref-catalog.xml:
Thanks,
Mark
When I add the top-level catalog to Options/Preferences/XML/XML Catalog, Docbook publishing fails because it can't resolve the file paths. But when I add the second-level catalog file to XML Catalog config, the publishing works.
Oxygen does not seem to understand the <nextCatalog> in the top-level catalog file. Here is what my catalog files look like:
1. top-level catalog file (FAILS):
Code: Select all
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" "http://www.oasis-open.org/committees/entity/release/1.1/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group prefer="system">
<nextCatalog catalog="next-catalog.xml/"/>
</group>
</catalog>
Code: Select all
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" "http://www.oasis-open.org/committees/entity/release/1.1/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<nextCatalog catalog="manual/ref-catalog.xml"/>
</catalog>
Code: Select all
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" "http://www.oasis-open.org/committees/entity/release/1.1/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" xml:base=".">
<group prefer="system" xml:base=".">
<system systemId="file:///mystring/overview.xml"
uri="chapters/overview.xml"/>
<system systemId="file:///mystring/issues.xml"
uri="chapters/issues.xml"/>
</group>
</catalog>
Mark