|
|
Re: Ecore created from XSD [message #507406 is a reply to message #507338] |
Wed, 13 January 2010 11:58 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
Assen,
I assume this is happening only for anonymous types which are given the
name of their containing element with Type appended. Simply naming the
type in the XSD would also do the trick.
Assen Sharlandjiev wrote:
> Hi,
> simply add the ecore xml namespace in your schema element:
>
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> then add an ecore:name attribute to the elements or types in your
> schema like:
>
> <complexType name="ClassificationSchemeType"
> ecore:name="ClassificationScheme">
>
> Assen.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03190 seconds