After i Inject the XML using the AM3, the created model or XMI does not conform the XMI model [message #685992] |
Tue, 21 June 2011 10:05 |
Emwedish Endargachew Messages: 27 Registered: April 2011 |
Junior Member |
|
|
HI All,
I am currently working on model to model transformation using ATL. I am trying to make two way transformation where both the source and target models are represented in XML Schema and XML. for the sake of compatibility, i inject the source XML model using AM3 injector in order to create the ecore model which is represented in XMI. However, after i made this transformation i find out that the XMI model does not conform the metamodel, which is source metamodel, but to the XML model which is general. So i find additional attributes called startLine, startColumn etc in the created XMI model. So when i try to make the model to model transformation i find out that the model does not conform to the given meta model. and i really need it to be conformed. I come to the thought that may be i can use both the XML and my metamodel as input metamodels, but i am not sure whether it will work or not. If you think this can solve my problem how can i make transformation from two input metamodels? If this does not work, what do you suggest me to do, in order to make the XMI model conformed to its metamodel, which is my project metamodel.
I really appreciate fast reply,
thanks in advance,
emwedish
|
|
|
|
Powered by
FUDForum. Page generated in 0.02657 seconds