Oxygen smart paste issues!

Post here questions and problems related to editing and publishing DITA content.
mu258770
Posts: 157
Joined: Mon Aug 18, 2014 4:11 pm

Oxygen smart paste issues!

Post by mu258770 »

Hi,
.
In Oxygen Author Eclipse and Web, sometimes the smart paste is causing DTD errors.

Example:- Consider I have dita content as below,

Code: Select all

    <steps>
      <step id="step1">
         <cmd>content inside cmd</cmd>
      </step>
      <stepsection>content inside stepsection</stepsection>
      <step>
        <cmd/>
      </step>
    </steps> 
Now if I copy the <stepsection> and paste it after second <step>, the paste will work. But it will make the whole content invalid as <stepsection> is always supposed to be followed with another <step>.

This will be the same even if I configure the smart paste option with "Reject action when its result is invalid" enabled.

Could you please let me know whether this would be improved in future?

Regards,
Shabeer
mu258770
Posts: 157
Joined: Mon Aug 18, 2014 4:11 pm

Re: Oxygen smart paste issues!

Post by mu258770 »

Hi team,

Could you please answer this.

Thanks in advance!

Regards,
Shabeer
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen smart paste issues!

Post by Radu »

Hi Shabeer,

Sorry for the delay, somehow we missed this post.
Indeed in this case the smart paste ends up making the document invalid. I added an internal issue to look into this although I'm not sure what we could do in such cases. Would you expect the paste not to work and report an error? Or for somehow for Oxygen to automatically add a new step after the pasted stepsection?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mu258770
Posts: 157
Joined: Mon Aug 18, 2014 4:11 pm

Re: Oxygen smart paste issues!

Post by mu258770 »

Hi Radu,

Thank you for the response.

I would expect the paste not to work if I have checked the option "Reject action when its result is invalid".

Regards,
Shabeer
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen smart paste issues!

Post by Radu »

Hi Shabeer,

Thanks, I added the details on the opened issue.

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