Updating oXygen to work with DITA 1.3/new OT

<oXygen/> general issues.
psbentley
Posts: 15

Updating oXygen to work with DITA 1.3/new OT

Thu May 21, 2015 7:18 pm

Hi all,

I would like to roll out a newer version of the OT (I'm currently on 1.8.5 and I need 2.1 for transform processing) and DITA 1.3. I am using oXygen 16.1 Editor and I'm struggling with integrating the newer OT. I've tried pointing to the 2.1 folder in my transforms, but I get errors even when running the OT transforms. Has anyone been successful in making this update?

To the oXygen support folks: are you planning on a webinar or releasing any information on the change to 1.3?

Thanks!
Radu
Posts: 5226

Re: Updating oXygen to work with DITA 1.3/new OT

Fri May 22, 2015 9:30 am

Hi Peyton,

The DITA OT 2.1 publishing engine only has support for publishing a couple of DITA 1.3 new elements.
Actually you can find here a list of DITA 1.3 improvements, most of them are still opened and only a couple of them have been done until now:

https://github.com/dita-ot/dita-ot/issues?utf8=%E2%9C%93&q=label%3A%22DITA+1.3%22+

Key scopes and branch filtering are also not supported yet by DITA OT 2.1.
Also the DITA OT 2.1 does not come by default with the new DITA 1.3 DTDs. It will probably do this after the DITA 1.3 is officially release, probably next year.

Eliot Kimber made available some DITA 1.3 DTD plugins which can be integrated in DITA OT 1.8 or 2.0:

https://github.com/dita-community/org.oasis-open.dita.dita13.doctypes

So these plugins only cover the DITA 1.3-based editing and validation, they do not cover the publishing part.

And, coming back to your original question, yes, you can publish with an external DITA OT 2.1 folder from Oxygen. If you are using the latest Oxygen 17, you just need to edit the transformation scenario and set the "dita.dir" parameter to point to the external DITA OT installation.

If you are using Oxygen 16.1, you need to edit the transformation scenario, go to the "Advanced" tab and click the "Libraries" button. Uncheck the Allow Oxygen... checkbox. Add another library entry:

${dita.dir.url}/lib/commons-io.jar

and move it to be the first entry in the list. If this does not work, just post the entire output received in the DITA OT console view and I'll look into this.

More about what adding bundled DITA 1.3 support to Oxygen below:

Support for a DITA 1.3 feature needs to have 3 aspects implemented:

1) Use the DITA 1.3 DTDs or schemas when creating topics and maps.
We do not yet ship these with Oxygen, possibly after the DITA 1.3 standard is released we will do this.

2) Oxygen has certain specialized dialogs which can be used to insert for example DITA topicrefs, these dialogs will need to be updated to support the new constraints, new attributes which can be set, etc.
But this is not a showstopper as you can also edit the content in the Text page.

3) The publishing needs to also work with the new features. So the DITA Open Toolkit publishing engine needs to be updated to support new DITA 1.3 features. Some features (like support for new DITA elements like
"strikeout") are quite easy to implement and have already been implemented in DITA Open Toolkit 2.0.
Other features like supports for ditavalref, support for scoped keys are very hard to implement. And we do not have an official timeline from the DITA Open Toolkit developers as to when these will become available.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
psbentley
Posts: 15

Re: Updating oXygen to work with DITA 1.3/new OT

Thu Jun 04, 2015 8:20 pm

Thanks, Radu. One of the new features I was hoping to use was keyscope, and if the OT doesn't support it yet, I'll just put this on hold.
Radu
Posts: 5226

Re: Updating oXygen to work with DITA 1.3/new OT

Fri Dec 18, 2015 2:54 pm

Hi,

Just to update this thread, Oxygen 17.1 has experimental support for DITA 1.3, including support for DITA key scopes:

https://www.oxygenxml.com/doc/versions/17.1/ug-editor/#topics/dita1-3-support.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest