|
|
|
Re: Serialisation produces illegal model file [message #430613 is a reply to message #430592] |
Fri, 29 May 2009 15:06 |
Morten MacFly Messages: 69 Registered: July 2009 |
Member |
|
|
Ed,
you were completely right. That was IT! Settinh the §unsettanle" to
false solved the issue.
I am really impressed about your analytical abilities. I ask myself if I
could have known this... probably... but your expert knowledge is really
amazing.
A thousand thanks!!!
With best regards, Morten.
Ed Merks wrote:
> Morten,
>
> I've not run the example, but I noticed that CHILDTYPE.instanceB is
> unsettable. Probably you don't really want that and no doubt that's
> what causes this problem, i.e., and empty list that's consider set,
> needs to be serialized; in XMI, that's done by serializing an attribute
> with an empty string but in pure conforming XML, it's not possible to
> represent this state.
>
> Morten MacFly wrote:
>> I forgot one important thing:
>>
>> The generator model of "B" should be used as reference when creating the
>> generator model for "A".
>>
>> I have attached an example generated editor (including ecore files etc.
>> as Eclipse projects).
>>
>> With regards, Morten.
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03230 seconds