|Ecore model serialization: element name replacement via ExtendedMetaData [message #1818920]
||Thu, 02 January 2020 14:54
| Robert Schulk
Registered: July 2015
Let's say I have an Ecore definition like this:|
-> attribute "myList": ref to EObject (0 .. *)
-> extendedMetaData: name="ClassB_._type"
Now, I am adding some instances of ClassB to the attribute "myList" of ClassA. When I serialize this to XML, it looks as I would expect:
But: if I try to load this XML, I get this exception:
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'ReplacedName' not found.
Does anybody know how (if?) I could get this to work?
[Updated on: Thu, 02 January 2020 18:00]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01627 seconds