|XML serialization [message #1764385]
||Mon, 29 May 2017 10:06
| Peter Mising name
Registered: July 2009
Hello, I have a little problem with the XML serialization.|
I want to deserialize and serialize the following xml.
The orders that are referenced have the id (eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ID" iD="true")
The orderIDREF reference works fine with this annotation
<details key="kind" value="element"/>
<details key="name" value="OrderIDREF"/>
<details key="namespace" value="##targetNamespace"/>
The issue is the orderIDREFS reference. I figured out that kind element only works with single references so i tried group and elementWildcard. They also work when loading the xml but when saving it, it always moves the entry into the spec tag like this
<spec OrderIDREFS="k1 k2">
When i want to load this again it fails with "Feature 'OrderIDREFS' not found"
Is there any setting that I can make to force it to leave it in its own tag?
[Updated on: Mon, 29 May 2017 11:00]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01946 seconds