Use of XML Catalog Files for XProc / Calabash
Posted: Tue Apr 18, 2023 11:14 am
Dear Forum,
i have an Issue with an Oxygen Projekt which uses a XProc Transformation Scenario.
It did work with Oxygen XML Editor Version 23 (with Windows 10). Recently i switched to Oxygen 24 and now Version 25.1. The Transformation Scenario fails in both Versions. The Reason is that XSL Stylesheets, referenced in p:xslt Steps, cant be found. Behind the scenes this seems to be an issue with a xml catalog file, which is defined in the Project settings.
One of my p:xslt Steps looks like this:
The Transformation Scenario fails with Error Message
The URL for the Stylesheet is defined in a catalog file:
In order to check the catalog file, i made a temporary XSL file which includes the given URL:
and it did resolve the URL as expected (the XSL File minimal-docbook.xsl is included).
So i think that the XML Catalog file is recognized at least for XSL Stylesheets, and is correct (otherwise xsl:include would not work), but it is not recognized within XProc / Calabash.
Thanks in advance,
Frank Steimke
i have an Issue with an Oxygen Projekt which uses a XProc Transformation Scenario.
It did work with Oxygen XML Editor Version 23 (with Windows 10). Recently i switched to Oxygen 24 and now Version 25.1. The Transformation Scenario fails in both Versions. The Reason is that XSL Stylesheets, referenced in p:xslt Steps, cant be found. Behind the scenes this seems to be an issue with a xml catalog file, which is defined in the Project settings.
One of my p:xslt Steps looks like this:
Code: Select all
<p:xslt>
<p:input port="stylesheet">
<p:document href="http://www.xoev.de/db2odf/minimal-docbook.xsl"/>
</p:input>
...
</p:xslt>
Code: Select all
err:XD0011 : Could not read: http://www.xoev.de/db2odf/minimal-docbook.xsl ... 404 Not Found for: https://www.xoev.de/db2odf/minimal-docbook.xsl
Code: Select all
<uri name="http://www.xoev.de/db2odf/minimal-docbook.xsl"
uri="xsl/db2odf/minimal-docbook.xsl"/>
Code: Select all
<xsl:include href="http://www.xoev.de/db2odf/minimal-docbook.xsl"/>
So i think that the XML Catalog file is recognized at least for XSL Stylesheets, and is correct (otherwise xsl:include would not work), but it is not recognized within XProc / Calabash.
Thanks in advance,
Frank Steimke