default option for MoveElementOperation (and others)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 48
- Joined: Wed Oct 22, 2014 4:11 pm
default option for MoveElementOperation (and others)
Post by friedemann_bach »
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:
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!!
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">
<serializableOrderedMap>
<entry>
<String>deleteLocation</String>
<String></String>
</entry>
Many thanks for your brilliant work!!
Re: default option for MoveElementOperation (and others)
Hi,
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.
Regards,
Radu
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.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 48
- Joined: Wed Oct 22, 2014 4:11 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service