Page 1 of 1

DITA 1.3 Validation

Posted: Wed May 13, 2015 8:16 pm
by slucchini
Hello,

I am interested in using the new DITA 1.3 spec for validation with oXygen. Is there a way for me to go about setting this up?

Thanks!
- Scott Lucchini

Re: DITA 1.3 Validation

Posted: Thu May 14, 2015 8:51 am
by Radu
Hi Scott,

What I did on my site to test working with the DITA 1.3 DTDs was to install in the DITA Open Toolkit I was using (in my case the one bundled with Oxygen) Eliot's plugin:

https://github.com/dita-community/dita1 ... .x-support
http://www.oxygenxml.com/doc/ug-oxygen/ ... lugin.html

Then I created and edited in Oxygen topics which have the public ID:

Code: Select all

-//OASIS//DTD DITA 1.3 Topic//EN
If you want your existing topics to be validated with DITA 1.3 without changing the public IDs in each of them, you can edit the XML catalog:

DITA-OT-DIR\catalog-dita.xml

find in it this entry:

Code: Select all


<nextCatalog xml:base="plugins/org.oasis-open.dita.dita13.doctypes-master/doctypes/" catalog="catalog.xml"></nextCatalog>
and comment out all other entries in the catalog-dita.xml because they have higher precedence and resolve the public IDs to the DITA 1.2 DTDs.

Regards,
Radu