Oxygen 10.1 - Frameworks DITA catalog file has higher priority than project specific catalog files

Hello. In 10.1 it seem to be impossible to override the default catalog settings from the file {oxygenhome}/frameworks/dita/catalog.xml. I have a project specific DTD set that currently uses the default Oasis publicd (for historical reasons) but isn't 100% identical to the ones included with Oxygen. In a normal way I created a project and included my own catalog file, but Oxygen still uses the files included in the framework for validation. I verified the behaviour from the information view where full paths to files are shown during validation. If I rename the file catalog.xml in frameworks/dita to something else and restart Oxygen, my project specific catalog file works as supposed. If I remember correctly, this behavior was different in earlier versions of Oxygen, where my project specific catalog files had priority higher than Oxygen's default files. I hope this behavior can be modified so that the project settings would always allow overriding default settings. Br, Jan -- Jan Nylund Senior System Designer Citec Information Oy Ab

Hello, For a document that matches a document type that is available in Preferences -> Document Type Association the XML catalogs are parsed and used in the order specified on the tab Catalogs of the dialog for editing a document type. It does not matter if the document types are stored at project level or at global level. If a reference is not resolved with one of the catalogs specified for the document type the catalog resolver also looks in the global catalogs available in Preferences -> XML -> XML Catalog. Is your catalog the first in the list displayed on the Catalogs tab of the dialog for editing a document type? Regards, Sorin Jan Nylund wrote:
Hello.
In 10.1 it seem to be impossible to override the default catalog settings from the file {oxygenhome}/frameworks/dita/catalog.xml.
I have a project specific DTD set that currently uses the default Oasis publicd (for historical reasons) but isn't 100% identical to the ones included with Oxygen. In a normal way I created a project and included my own catalog file, but Oxygen still uses the files included in the framework for validation. I verified the behaviour from the information view where full paths to files are shown during validation.
If I rename the file catalog.xml in frameworks/dita to something else and restart Oxygen, my project specific catalog file works as supposed. If I remember correctly, this behavior was different in earlier versions of Oxygen, where my project specific catalog files had priority higher than Oxygen's default files.
I hope this behavior can be modified so that the project settings would always allow overriding default settings.
Br, Jan
-- Jan Nylund Senior System Designer Citec Information Oy Ab
------------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Jan, You can edit the DITA framework and add your catalog there. Note that you can set the Document Type Association option page at project level then you can disable the DITA document type, duplicate it (it will be stored in the options, Storage will be internal) and then edit the duplicated framework to add your catalog and eventually remove the default one. Thus you can keep the changes local to your project and customize the DITA framework as you like. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Jan Nylund wrote:
Hello.
In 10.1 it seem to be impossible to override the default catalog settings from the file {oxygenhome}/frameworks/dita/catalog.xml.
I have a project specific DTD set that currently uses the default Oasis publicd (for historical reasons) but isn't 100% identical to the ones included with Oxygen. In a normal way I created a project and included my own catalog file, but Oxygen still uses the files included in the framework for validation. I verified the behaviour from the information view where full paths to files are shown during validation.
If I rename the file catalog.xml in frameworks/dita to something else and restart Oxygen, my project specific catalog file works as supposed. If I remember correctly, this behavior was different in earlier versions of Oxygen, where my project specific catalog files had priority higher than Oxygen's default files.
I hope this behavior can be modified so that the project settings would always allow overriding default settings.
Br, Jan
-- Jan Nylund Senior System Designer Citec Information Oy Ab
------------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello Sorin and George! Thanks for exlaining the behaviour in detail. The solution was as you suggested very simple, I simply disabled the document type association for the document types I want to override. Since this was doable on project level, everything works as I wished for! Thanks once again for a quick solution! It was nice meeting you guys on the DITA conference in München last year, to finally put a face on the names. Br, Jan -- Jan Nylund Senior System Designer Citec Information Oy Ab
participants (3)
-
George Cristian Bina
-
Jan Nylund
-
Sorin Ristache