Oxygen can't find map.dtd

Posts: 56
Joined: Mon Sep 28, 2009 8:10 am

Oxygen can't find map.dtd

Post by maglid » Sat Aug 29, 2020 1:53 am

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?

Posts: 7150
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen can't find map.dtd

Post by Radu » Mon Aug 31, 2020 7:20 am


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?

Radu Coravu
<oXygen/> XML Editor

Post Reply