Page 1 of 1

Oxygen smart paste issues!

Posted: Wed Sep 16, 2020 11:56 am
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

Re: Oxygen smart paste issues!

Posted: Fri Oct 02, 2020 11:47 am
by mu258770
Hi team,

Could you please answer this.

Thanks in advance!

Regards,
Shabeer

Re: Oxygen smart paste issues!

Posted: Fri Oct 02, 2020 3:57 pm
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

Re: Oxygen smart paste issues!

Posted: Mon Oct 05, 2020 10:37 am
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

Re: Oxygen smart paste issues!

Posted: Tue Oct 06, 2020 7:30 am
by Radu
Hi Shabeer,

Thanks, I added the details on the opened issue.

Regards,
Radu