Recurring missing DTD after being targeted in the Document Type association
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 105
- Joined: Thu Jan 20, 2022 12:36 pm
Recurring missing DTD after being targeted in the Document Type association
Hello!
I have a project where the client declared a DTD with an absolute path.
I can't modify the content so I have to figure out how to achieve a publication on my side with the DITA-OT provided.
Here are the steps I followed:
1. I created a DITA-OT with the custom dtd provided by the client.
2. I applied the Integrator scenario to it and it successfully build the DITA-OT.
3. I target the Document Type association in Oxygen with the relevant folder to the DTDs into the DITA-OT folder.
Thanks to these operations, I can open and visualize the content of the maps and topics. However, I feel confused because when I start a transformation, I only have access to the scenarios that I previously created and not the default ones.
What can I do in order to successfully build the project. I suspect the urn and path to the DTD should be adapted, but how?
I have a project where the client declared a DTD with an absolute path.
Code: Select all
<!DOCTYPE concept PUBLIC "urn:pubid:xxx.com:doctypes:dita:concept" "file:///C:/xxxxx/xxxxxx/xxxxx/xxxxx/DocTypes/dita-oasis/1.2/com.xxx.doctypes/dtd/concept/dtd/xxx-concept.dtd"[]>
Here are the steps I followed:
1. I created a DITA-OT with the custom dtd provided by the client.
2. I applied the Integrator scenario to it and it successfully build the DITA-OT.
3. I target the Document Type association in Oxygen with the relevant folder to the DTDs into the DITA-OT folder.
Thanks to these operations, I can open and visualize the content of the maps and topics. However, I feel confused because when I start a transformation, I only have access to the scenarios that I previously created and not the default ones.
image.png
When publishing via one these scenarios, the log outputs an error related to the DTD being not found although I can open and access the files in the editor.What can I do in order to successfully build the project. I suspect the urn and path to the DTD should be adapted, but how?
You do not have the required permissions to view the files attached to this post.
------
Gaspard
Gaspard
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Recurring missing DTD after being targeted in the Document Type association
Hi,
So you created a DITA OT DTD specialization plugin and integrated it in the DITA OT bundled with Oxygen, right?
If you can share the plugin and a sample document with me (support@oxygenxml.com) I could try to try it on my side, because I do not know exactly what it contains, what mappings you defined in its catalog.xml XML catalog file.
Regards,
Radu
So you created a DITA OT DTD specialization plugin and integrated it in the DITA OT bundled with Oxygen, right?
If you can share the plugin and a sample document with me (support@oxygenxml.com) I could try to try it on my side, because I do not know exactly what it contains, what mappings you defined in its catalog.xml XML catalog file.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Recurring missing DTD after being targeted in the Document Type association
Thanks for the samples.
We'll discuss more via email, adding here a few general remarks based on the samples if someone else stumbles on this thread:
1) In the Oxygen Preferences->DITA page you need to refer to the entire "DITA OT" folder, not to the plugin folder.
2) Any DITA OT specialization plugin folder needs to contain inside it a "plugin.xml" defining the plugin ID and referencing the catalog.xml. Something like:
3) After running validation, if the XML topic instance is opened in Oxygen and validated, Oxygen should show errors in the DTDs if the DTDs still have validation problems and the errors need to be fixed.
Regards,
Radu
We'll discuss more via email, adding here a few general remarks based on the samples if someone else stumbles on this thread:
1) In the Oxygen Preferences->DITA page you need to refer to the entire "DITA OT" folder, not to the plugin folder.
2) Any DITA OT specialization plugin folder needs to contain inside it a "plugin.xml" defining the plugin ID and referencing the catalog.xml. Something like:
Code: Select all
<plugin id="com.my.specialization">
<feature extension="dita.specialization.catalog.relative" file="catalog.xml"/>
</plugin>
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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