Oxygen looks for DTD every time I open a file
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Tue Nov 19, 2013 2:41 am
Oxygen looks for DTD every time I open a file
Hello,
I'm new to Oxygen as I've mainly used Xmetal. When I try to open my .dita files in Oxygen, I get an error message that says Oxygen is expecting a dtd in the same folder as my source files. (I get messages for a map.dtd, task.dtd, and concept.dtd.) Is there a setting I can use to set this once, rather than copying my DTDs into each folder containing my source files?
Thanks for your help,
I'm new to Oxygen as I've mainly used Xmetal. When I try to open my .dita files in Oxygen, I get an error message that says Oxygen is expecting a dtd in the same folder as my source files. (I get messages for a map.dtd, task.dtd, and concept.dtd.) Is there a setting I can use to set this once, rather than copying my DTDs into each folder containing my source files?
Thanks for your help,
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Oxygen looks for DTD every time I open a file
Post by alex_jitianu »
Hello,
Normally Oxygen maps the DITA DTDs to copies from the local file system through catalogs. But you probably have a DITA specialization so the PUBLIC ID of the DTDs doesn't match and so the resources are not resolved. You should add some catalogs entries for those DTDs. A catalog is an XML file with a content like this:
So you put your DTDs into one location and then you use the catalog file to resolve PUBLIC IDs to that location. Next, you have to tell Oxygen to use this catalog, either by putting it in XML Catalog Preferences or in the associated document type (in your case DITA): The Document Type Dialog.
Best regards,
Alex
Normally Oxygen maps the DITA DTDs to copies from the local file system through catalogs. But you probably have a DITA specialization so the PUBLIC ID of the DTDs doesn't match and so the resources are not resolved. You should add some catalogs entries for those DTDs. A catalog is an XML file with a content like this:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<public publicId="-//OASIS//DTD DITA Concept//EN" uri="concept.dtd" xml:base="dtd/technicalContent/dtd/"></public>
<public publicId="-//OASIS//DTD DITA Topic//EN" uri="topic.dtd" xml:base="dtd/technicalContent/dtd/"></public>
</catalog>
Best regards,
Alex
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Oxygen looks for DTD every time I open a file
Post by alex_jitianu »
Hello,
We also have a topic about how to integrate a DITA Specialization: Integration of a DITA Specialization.
Best regards,
Alex
We also have a topic about how to integrate a DITA Specialization: Integration of a DITA Specialization.
Best regards,
Alex
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