Page 1 of 1

Oxygen can't find map.dtd

Posted: Sat Aug 29, 2020 1:53 am
by maglid
Using Oxygen 22 on MacOS. When I open a DITA map with this standard doctype:

Code: Select all

<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
Oxygen gives this error:

F [Xerces] FileNotFoundException-/Users/magldi/git/docs/map.dtd

It's looking for map DTD in the same directory where the map is, instead of using the Oxygen catalog. Oxygen normally recognizes a file like this in its default setup. I tried setting an XML catalog entry to point to the Oxygen DITA OT catalog-dita.xml file, and this does not work either. (I closed and opened Oxygen to make sure this catalog was used)

How can I fix this? Is there something to reset?

Re: Oxygen can't find map.dtd

Posted: Mon Aug 31, 2020 7:20 am
by Radu
Hi,

You should open Oxygen's "Preferences" dialog and look in two places:
1) Preferences->"DITA" page, was the path to the DITA Open Toolkit modified to point to a custom DITA Open Toolkit installation? If so, does that installation still exist?
2) Preferences->"Document Type Association" page. Are the "DITA" and "DITA Map" framework associations present? Are they also enabled/checked?

Regards,
Radu