You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin Version : 2.0.0-RC3 Saxon EE Version : 9.8.0.12 Java JDK : 1.8.0 181
Short Description
The cofiguration option is not taken into account. While executing an xspec test that processes an XML file with a public DTD reference, the substitute DTD uri provided by the specified catalog is not used and thus the DTD is not resolved.
Long Description
GIVEN an XML file with the following DTD reference :
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE MY-DOCUMENT PUBLIC "-//MY-COMPANY//DTD PUBLICATION//FR" "C:/non/available/path/to/DTD/publications_V1.dtd">
WHEN the xspec test is executed and an XSL transformation applied to the XML file
THEN the test fails with the stack trace provided in catalog-error.txt
In the generated catalog file we find the correct absolute path to the specified catalog file : <nextCatalog catalog="file:/D:/correct/absolute/path/to/my-catalog.xml"/>
The text was updated successfully, but these errors were encountered:
cmarchand
changed the title
catalog configuration option not taken into account
catalog configuration option is not propagated to XMLReader
Oct 29, 2018
Hi @northerngosling , could you have a look at project saxon-resolver-way-to-use and tell me if the usecase is the same you want to test. You can clone and run it simply with mvn package.
If so, I'll implement this solution in plugin
Plugin Version : 2.0.0-RC3
Saxon EE Version : 9.8.0.12
Java JDK : 1.8.0 181
Short Description
The cofiguration option is not taken into account. While executing an xspec test that processes an XML file with a public DTD reference, the substitute DTD uri provided by the specified catalog is not used and thus the DTD is not resolved.
Long Description
GIVEN an XML file with the following DTD reference :
AND a catalog file :
AND an xspec-maven-plugin configuration :
WHEN the xspec test is executed and an XSL transformation applied to the XML file
THEN the test fails with the stack trace provided in
catalog-error.txt
In the generated catalog file we find the correct absolute path to the specified catalog file :
<nextCatalog catalog="file:/D:/correct/absolute/path/to/my-catalog.xml"/>
The text was updated successfully, but these errors were encountered: