Topic refactoring from task > topic and vice versa

Post here questions and problems related to editing and publishing DITA content.
JAM1970
Posts: 2
Joined: Mon Oct 30, 2017 1:28 pm
Contact:

Topic refactoring from task > topic and vice versa

Post by JAM1970 »

When refactoring a task topic to concept, the <cmd> element remains, making the topic invalid.
Furthermore, when converting back to a task, the <ol> is not converted to <steps> and <li> not to <step>. Additionally, the "procedure" is wrapped in the <context> element.
I was hoping that this was a known issue, but I can't see anything similar in the forum.
sorin_carbunaru
Posts: 403
Joined: Mon May 09, 2016 9:37 am

Re: Topic refactoring from task > topic and vice versa

Post by sorin_carbunaru »

Hello,

Thank you for the feedback! I will add an issue with your observations to see what can be done.

If you are familiar with XSLT, perhaps you can customize the stylesheets yourself. They can be found at [oXygen_dir]\frameworks\dita\refactoring\dita-files-conversion-stylesheets.

One last thing: if you are not satisfied with one conversion, instead of perform another one in the other direction, you can just perform an undo. This way you will get the exact structure you had before the conversion. And instead of directly finishing a conversion, you can always generate a preview to see if everything is alright.

Regards,
Sorin Carbunaru
oXygen XML
JAM1970
Posts: 2
Joined: Mon Oct 30, 2017 1:28 pm
Contact:

Re: Topic refactoring from task > topic and vice versa

Post by JAM1970 »

Yes, I am aware of these options. However, this was supposed to be a major feature in the release. Shame.
sorin_carbunaru
Posts: 403
Joined: Mon May 09, 2016 9:37 am

Re: Topic refactoring from task > topic and vice versa

Post by sorin_carbunaru »

Hello again,

Sorry for the inconvenience! We have already analyzed the issue and we will try to include a fix in the next maintenance kit (probably 6 weeks from now, or so).

Sorin C.
Radu
Posts: 9069
Joined: Fri Jul 09, 2004 5:18 pm

Re: Topic refactoring from task > topic and vice versa

Post by Radu »

Hi,

About your requests:
When refactoring a task topic to concept, the <cmd> element remains, making the topic invalid.
This is a clear situation and we'll work to fix it, I will update the forum thread when it happens.
Furthermore, when converting back to a task, the <ol> is not converted to <steps> and <li> not to <step>. Additionally, the "procedure" is wrapped in the <context> element.
Could you post a small sample DITA topic with how the content looks before the conversion and how you would like to look after it?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ionela
Posts: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: Topic refactoring from task > topic and vice versa

Post by ionela »

Hi,

Just to update the thread, this problem has been resolved in the latest maintenance build of Oxygen 19.1, 2017121318 (released on December 13th):
DITA: Fixed invalid content generated when converting from task to concept.
You can download it from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
https://www.oxygenxml.com/build_history.html#2017121318

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Let us know if you encounter further problems with this new build.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply