Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » XSD -> ECORE -> ATL
XSD -> ECORE -> ATL [message #658603] Wed, 09 March 2011 08:51 Go to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: March 2011
Junior Member
Hi guys,

I have to do a model transformation and have both xsds. However, the problem I am facing is that I would like to use ATL.

ATL needs two ecore files for the input model and output model. I can create these Ecores with the standard xsd2ecore function. BUT these Ecore files are not compatible with ATL because I always get some error referring to a class that does not exist. I think it has got something to do with the abstract defintion of types in XSD.

Unfortunately the models are too complex to create my own ecore models. Therefore, my question is if there is a way to create compatible ecores with xsd or if I should choose a different approach and forget ATL.

Cheers
Re: XSD -> ECORE -> ATL [message #658738 is a reply to message #658603] Wed, 09 March 2011 16:10 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30544
Registered: July 2009
Senior Member
Comments below.

a1743541@jnxjn.com wrote:
> Hi guys,
>
> I have to do a model transformation and have both xsds. However, the
> problem I am facing is that I would like to use ATL.
I don't know much about ATL...
>
> ATL needs two ecore files for the input model and output model. I can
> create these Ecores with the standard xsd2ecore function. BUT these
> Ecore files are not compatible with ATL because I always get some
> error referring to a class that does not exist. I think it has got
> something to do with the abstract defintion of types in XSD.
There is platform:/plugin/org.eclipse.xsd/model/XSD.ecore (and of course
XSDPackage.eINSTANCE).
>
> Unfortunately the models are too complex to create my own ecore
> models. Therefore, my question is if there is a way to create
> compatible ecores with xsd or if I should choose a different approach
> and forget ATL.
Of course now I'm wondering if you're transforming instances of those
XSD (XML files that conform to the XSD) or the XSD themselves. Perhaps
you could clarify that point.
>
> Cheers
>
Previous Topic:Tracking Notification in the Model
Next Topic:Create an instance of Ecore
Goto Forum:
  


Current Time: Tue Oct 15 12:24:29 GMT 2019

Powered by FUDForum. Page generated in 0.01642 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top