Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » XSD to ECORE Transformation
XSD to ECORE Transformation [message #548398] Wed, 21 July 2010 17:12 Go to next message
Alexey is currently offline AlexeyFriend
Messages: 61
Registered: January 2010
Member
Hello!

I Use EMF genmodel to get an ecore from my xsd-file (model.ecore).

It works, but I have a problem that the model.ecore has then class of the name SPECOBJECT, but it's wrong, because in model.xsd it was called SPEC-OBJECT (so with this "minus"-sign).

Please, how to tell the EMF to generate the ecore EXACTLY with the same naming as in the xsd-source?

Thank you!

Alexey
Re: XSD to ECORE Transformation [message #548468 is a reply to message #548398] Wed, 21 July 2010 23:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31828
Registered: July 2009
Senior Member
Alexey,

Please avoid cross posting. This was answered in the EMF newsgroup.


Alexey wrote:
> Hello!
>
> I Use EMF genmodel to get an ecore from my xsd-file (model.ecore).
>
> It works, but I have a problem that the model.ecore has then class of
> the name SPECOBJECT, but it's wrong, because in model.xsd it was
> called SPEC-OBJECT (so with this "minus"-sign).
>
> Please, how to tell the EMF to generate the ecore EXACTLY with the
> same naming as in the xsd-source?
>
> Thank you!
>
> Alexey


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:SOLVED! :-) [ATL] Sequence with values but how to get further?
Next Topic:[ATL] inverse function of refImmediateComposite()
Goto Forum:
  


Current Time: Tue Apr 13 05:45:54 GMT 2021

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

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

Back to the top