Error when inserting reusable content

Oxygen general issues.
Carl
Posts: 102
Joined: Fri Oct 19, 2018 2:19 am

Error when inserting reusable content

Post by Carl »

I have saved a couple of sentences as reusable content. It was saved as "Selected Text". But when I try to insert this content elsewhere, I keep getting this cryptic error:
XPath failed due to: The require item type of the second operand of '|' is node(); the supplied value "Timestamps should only be specified..." is an atomic value.

More details...
Clicking "More details" displays a Java error dump (which I can send you later if that's helpful).

What does this error mean? Even stranger, this error displays immediately when I right click > Reuse > Insert reusable content. I haven't even selected my reuse file yet.
IrinaNadolu
Posts: 14
Joined: Wed Mar 03, 2021 1:37 pm

Re: Error when inserting reusable content

Post by IrinaNadolu »

Hello,

Thank you for bringing the issue to our notice, we managed to reproduce it and we added an internal issue for it.
The problem seems to happen only if you add a Description when creating a reusable component.
So, in the meantime, maybe you can leave the Description text area empty when creating the reusable component. I hope this solves the problem for now.
We'll update this forum thread when a fix is available.

Regards,
Irina
Irina Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Carl
Posts: 102
Joined: Fri Oct 19, 2018 2:19 am

Re: Error when inserting reusable content

Post by Carl »

That's interesting. It must be a new bug then (in v23?)! That's because I've created many reusable components with a description in the past, and I've never run into this problem before.
IrinaNadolu
Posts: 14
Joined: Wed Mar 03, 2021 1:37 pm

Re: Error when inserting reusable content

Post by IrinaNadolu »

Hi Carl,

This is correct, the problem was introduced in Oxygen 23.0.

Regards,
Irina
Irina Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
IrinaNadolu
Posts: 14
Joined: Wed Mar 03, 2021 1:37 pm

Re: Error when inserting reusable content

Post by IrinaNadolu »

Hello Carl,

I wanted to let you know that we released a maintenance kit for Oxygen 23.1 and it also contains a fix for the problem you had with inserting reused content from a reusable components file. Now, even if the initially created component has a description defined for it, the insertion does not fail anymore.

Best regards,
Irina
Irina Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply