default option for MoveElementOperation (and others)

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 48

default option for MoveElementOperation (and others)

Wed Aug 09, 2017 7:02 pm

Dear developers,

I have a little issue here which I experienced in the Author action "MoveElementOperation". I defined insertPosition, sourceLocation and targetLocation, and the action worked fine. Then, returning to the dialog again to make some other changes, I (by mistake) clicked on deleteLocation, but did not enter anything. After saving all changes, the action now returned an "unexpected <eof>" error. I checked the action definition in my project file and I saw this:

Code: Select all

<field name="argValues">

So the action just tried to parse that empty string there. I then deleted the entry from the project file, reloaded and everything was back to normal. Another way which I also tested was to repeat the sourceLocation, this also works fine but it would mean redundancy. Is this a bug? If not, it would be convenient if there was a "reset to default" button in the dialog.

Many thanks for your brilliant work!!
Posts: 5931

Re: default option for MoveElementOperation (and others)

Thu Aug 10, 2017 9:31 am


I understand, we'll consider adding in a future version a button to unset a parameter's value back to its default.
Also in Oxygen 19.1 (Autumn this year) we'll treat an empty xpath expression set on a parameter in the same way as an xpath expression that is not set at all.

Radu Coravu
<oXygen/> XML Editor
Posts: 48

Re: default option for MoveElementOperation (and others)

Thu Aug 10, 2017 11:51 am

Great, thanks!

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests