Page 1 of 1

Topic refactoring from task > topic and vice versa

Posted: Mon Oct 30, 2017 2:02 pm
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.

Re: Topic refactoring from task > topic and vice versa

Posted: Mon Oct 30, 2017 5:38 pm
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

Re: Topic refactoring from task > topic and vice versa

Posted: Mon Oct 30, 2017 6:19 pm
by JAM1970
Yes, I am aware of these options. However, this was supposed to be a major feature in the release. Shame.

Re: Topic refactoring from task > topic and vice versa

Posted: Tue Oct 31, 2017 10:14 am
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.

Re: Topic refactoring from task > topic and vice versa

Posted: Thu Nov 02, 2017 2:55 pm
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

Re: Topic refactoring from task > topic and vice versa

Posted: Fri Jan 05, 2018 1:10 pm
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