Use of XML Catalog Files for XProc / Calabash
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 87
- Joined: Tue Jan 01, 2013 3:19 pm
Use of XML Catalog Files for XProc / Calabash
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
-
- Posts: 143
- Joined: Tue Mar 25, 2003 11:21 am
Re: Use of XML Catalog Files for XProc / Calabash
Hello Frank,
Please make sure the resource specified by the catalog file is correctly placed relative by the catalog's position in the file system.
Open the catalog.xml file for editing in Oxygen, and use the "Open file at cursor" action, either by pressing CTRL+Enter or CTRL+Click on the resource from the catalog.
Alo make sure the catalog file file path is correctly added for XProc Editor in "Options/Prefereces/Document Type Association/XProc/Catalogs".
We simulated the same situation on our side and works without problems.
Regards,
Mircea.
Please make sure the resource specified by the catalog file is correctly placed relative by the catalog's position in the file system.
Open the catalog.xml file for editing in Oxygen, and use the "Open file at cursor" action, either by pressing CTRL+Enter or CTRL+Click on the resource from the catalog.
Alo make sure the catalog file file path is correctly added for XProc Editor in "Options/Prefereces/Document Type Association/XProc/Catalogs".
We simulated the same situation on our side and works without problems.
Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service