Transform from CL versus from Transformation Scenario
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Transform from CL versus from Transformation Scenario
Post by ann.jensen »
Hi,
I am running a transform using a custom DITA-OT based on DITA-OT 3.4.1, using the com.oxygenxml.dita.metrics.report plugin and my DITA uses a custom DTD. I added path to custom DTDs into \plugins\org.dita.base\catalog-dita.xml. My transforms works fine when using an Oxygen transformation scenario but fails when I run from command line using dita.bat command because it cannot find the custom DTDs.
I cannot see any differences in the configuration of the 2 transforms.
Any advice appreciated,
Regards,
Ann
I am running a transform using a custom DITA-OT based on DITA-OT 3.4.1, using the com.oxygenxml.dita.metrics.report plugin and my DITA uses a custom DTD. I added path to custom DTDs into \plugins\org.dita.base\catalog-dita.xml. My transforms works fine when using an Oxygen transformation scenario but fails when I run from command line using dita.bat command because it cannot find the custom DTDs.
Code: Select all
Loading stylesheet C:\Users\<name>\AppData\Oxygen XML Editor 20\frameworks\dita\<custom dita-ot-3.4.1>\plugins\com.oxygenxml.dita.metrics.report\report.xsl
[xslt] : Error! I/O error reported by XML parser processing file:/C:/Users/<name>/AppData/OxygenFiles/TestMetricsReportPrj/rootMap.ditamap: C:\Users\<name>\AppData\OxygenFiles\TestMetricsReportPrj\<customDTD.dtd> (The system cannot find the file specified) Cause: java.io.FileNotFoundException: C:\Users\<name>\AppData\OxygenFiles\TestMetricsReportPrj\<customDTD.dtd> (The system cannot find the file specified)
Any advice appreciated,
Regards,
Ann
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Transform from CL versus from Transformation Scenario
Hi Ann,
The ANT catalog resolver is buggy, when we run ANT from Oxygen we have certain patches which fix this problem.
There is a long discussion here:
https://github.com/dita-ot/dita-ot/issues/3142
with links to certain possible workarounds:
https://dita-users.groups.io/g/main/top ... 3261#44287
Regards,
Radu
The ANT catalog resolver is buggy, when we run ANT from Oxygen we have certain patches which fix this problem.
There is a long discussion here:
https://github.com/dita-ot/dita-ot/issues/3142
with links to certain possible workarounds:
https://dita-users.groups.io/g/main/top ... 3261#44287
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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