Two JATS DTD in XML Catalog
Posted: Thu Mar 03, 2016 2:36 am
I'm having trouble with what appears to be conflicting DTD catalogs when validating XML files.
I have two DTDS in the JATS family specified in the XML Catalog of the Preferences tab.
file:/C:/JATS-Publishing-1-1d1-MathML2-DTD/catalog-jats-v1-1d1-with-base.xml
file:/C:/JATS-Archiving-1.1d1-MathML2-DTD/catalog-jats-v1-1d1-with-base.xml
When validating a file using the second DTD (Archiving) I get an error that the system is looking for a file in the first DTD path (JATS-Publishing-1-1d1-MathML2-DTD
Error message:
FileNotFoundException-C:\JATS-Publishing-1-1d1-MathML2-DTD\JATS-archivearticle1.dtd (The system cannot find the file specified)
As you see, it's looking in the Publishing version of the DTD, for some reason, instead of the Archiving DTD.
If I remove the Publishing XML catalog (first path) the file validates perfectly fine. Can the two not co-exist?
I have two DTDS in the JATS family specified in the XML Catalog of the Preferences tab.
file:/C:/JATS-Publishing-1-1d1-MathML2-DTD/catalog-jats-v1-1d1-with-base.xml
file:/C:/JATS-Archiving-1.1d1-MathML2-DTD/catalog-jats-v1-1d1-with-base.xml
When validating a file using the second DTD (Archiving) I get an error that the system is looking for a file in the first DTD path (JATS-Publishing-1-1d1-MathML2-DTD
Error message:
FileNotFoundException-C:\JATS-Publishing-1-1d1-MathML2-DTD\JATS-archivearticle1.dtd (The system cannot find the file specified)
As you see, it's looking in the Publishing version of the DTD, for some reason, instead of the Archiving DTD.
If I remove the Publishing XML catalog (first path) the file validates perfectly fine. Can the two not co-exist?