catalogs with DITA OT default transforms
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Fri Jun 26, 2009 10:11 pm
catalogs with DITA OT default transforms
Hello,
I'm attempting to run the default XHTML transform on a ditamap using the DITA OT through oXygen. The transform fails to resolve the public identifier in the map's doctype.
I can open (and validate) that same map in the oXygen dita maps manager.
The DTD against which I'm validating is deployed as a toolkit plugin. The OT catalog ({$frameworks}\dita\DITA-OT\catalog-dita.xml includes a next catalog element that references the plugin catalogs.
I'm running Windows XP, oXygen 10.2, and DITA OT 1.5.
Any suggestions?
Thanks,
Andrea
I'm attempting to run the default XHTML transform on a ditamap using the DITA OT through oXygen. The transform fails to resolve the public identifier in the map's doctype.
I can open (and validate) that same map in the oXygen dita maps manager.
The DTD against which I'm validating is deployed as a toolkit plugin. The OT catalog ({$frameworks}\dita\DITA-OT\catalog-dita.xml includes a next catalog element that references the plugin catalogs.
I'm running Windows XP, oXygen 10.2, and DITA OT 1.5.
Any suggestions?
Thanks,
Andrea
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: catalogs with DITA OT default transforms
Hello Andrea,
From what I understand you replaced the DITA Open Toolkit 1.4.3 distribution from the Oxygen frameworks with the DITA OT 1.5 distribution.
Adding the extra catalog to the Oxygen catalogs will be enough to validate the maps/topics opened in Oxygen but of course the DITA OT ANT process also needs to know about the extra catalog.
Modifying the {$frameworks}\dita\DITA-OT\catalog-dita.xml catalog to point to the next catalog like:
should work both for transformation with the DITA Open Toolkit and for validation/content-completion from within Oxygen.
Just make sure the path to the next catalog is correct and then restart Oxygen and things should work out.
Regards,
Radu
From what I understand you replaced the DITA Open Toolkit 1.4.3 distribution from the Oxygen frameworks with the DITA OT 1.5 distribution.
Adding the extra catalog to the Oxygen catalogs will be enough to validate the maps/topics opened in Oxygen but of course the DITA OT ANT process also needs to know about the extra catalog.
Modifying the {$frameworks}\dita\DITA-OT\catalog-dita.xml catalog to point to the next catalog like:
Code: Select all
<nextCatalog catalog="path/to/new/catalog.xml"/>
Just make sure the path to the next catalog is correct and then restart Oxygen and things should work out.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Fri Jun 26, 2009 10:11 pm
Re: catalogs with DITA OT default transforms
Hello, Radu,
Yes, my catalog-dita.xml has a nextCatalog reference:
<nextCatalog catalog="plugins/com.myProject.doctypes/doctypes/catalog.xml">
If I comment out this catalog reference, oXygen fails to validate associated dita topics and maps. If I uncomment it, validation succeeds, but the DITA-OT transforms fail.
BUILD FAILED
C:\oxygen\frameworks\dita\DITA-OT\build.xml:59: The following error occurred while executing this line:
C:\oxygen\frameworks\dita\DITA-OT\build_preprocess.xml:25: [DOTJ012F][FATAL] Failed to parse the input file 'gcpich_course.ditamap' due to below exception. Please correct the input base on the exception message.:C:\workspace\myProject\sample_data\dita_docs\course_gcpich\myProjectMap.dtd (The system cannot find the file specified)
I updated to oXygen 10.3 this morning and continue to experience these errors. I replaced the default DITA OT with v 1.5. (I tested first with the OT that ships with oXygen and got the same error.)
Thanks,
Andrea
Yes, my catalog-dita.xml has a nextCatalog reference:
<nextCatalog catalog="plugins/com.myProject.doctypes/doctypes/catalog.xml">
If I comment out this catalog reference, oXygen fails to validate associated dita topics and maps. If I uncomment it, validation succeeds, but the DITA-OT transforms fail.
BUILD FAILED
C:\oxygen\frameworks\dita\DITA-OT\build.xml:59: The following error occurred while executing this line:
C:\oxygen\frameworks\dita\DITA-OT\build_preprocess.xml:25: [DOTJ012F][FATAL] Failed to parse the input file 'gcpich_course.ditamap' due to below exception. Please correct the input base on the exception message.:C:\workspace\myProject\sample_data\dita_docs\course_gcpich\myProjectMap.dtd (The system cannot find the file specified)
I updated to oXygen 10.3 this morning and continue to experience these errors. I replaced the default DITA OT with v 1.5. (I tested first with the OT that ships with oXygen and got the same error.)
Thanks,
Andrea
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: catalogs with DITA OT default transforms
Hi Andrea,
I tested using DITA specializations both for the map and topics and settings the next catalog as you did in the catalog-dita.xml and both validation in Oxygen and transformation worked.
My opinion is that in your catalog the DITA Map public/system ID's are not correctly connected to the map custom DTDs.
You said the DITA map was valid in Oxygen. Did you open it in the main editor area and then validated? If you did not you should open it in the DITA Maps Manager and then press the Open map in editor toolbar action to open it in the main editor area.
After each catalog change you should use the "Reset cache and validate" toolbar action to rebuild the catalogs.
If this still does not work it would be useful if you could send us a sample project together with your custom DTD's and catalog.
Regards,
Radu
I tested using DITA specializations both for the map and topics and settings the next catalog as you did in the catalog-dita.xml and both validation in Oxygen and transformation worked.
My opinion is that in your catalog the DITA Map public/system ID's are not correctly connected to the map custom DTDs.
You said the DITA map was valid in Oxygen. Did you open it in the main editor area and then validated? If you did not you should open it in the DITA Maps Manager and then press the Open map in editor toolbar action to open it in the main editor area.
After each catalog change you should use the "Reset cache and validate" toolbar action to rebuild the catalogs.
If this still does not work it would be useful if you could send us a sample project together with your custom DTD's and catalog.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: catalogs with DITA OT default transforms
Hello Andrea,
You can find our support email address here.
http://www.oxygenxml.com/techSupport.html
Regards,
Radu
You can find our support email address here.
http://www.oxygenxml.com/techSupport.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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