Convert XMI to XSD. [message #29361] |
Fri, 12 September 2003 09:40 |
Eclipse User |
|
|
|
Originally posted by: jan.odstrcil.systinet.com
Hi,
is here any way how to create XSD from XMI using EMF/XSD ?
Exactly I have Class Diagram serialized in XMI and need to get correspondent
XSD file that describes same data from XSD point of view.
Thanks
Jan
|
|
|
Re: Convert XMI to XSD. [message #29399 is a reply to message #29361] |
Thu, 11 September 2003 22:26 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Jan,
The only way to do this would be to import the class diagram as an Ecore model
and then to use the code generator to generate the model; if the "Generate
Schema" property set to true, the generation step will produce .xsd files
corresponding to the XMI serialization of the model. Unfortunately EMF doesn't
support importing directly from an XMI serialization of a class diagram, so this
may not be very helpful. The resulting schema is pretty ugly too, and we are
currently looking at how to generate better schemas...
Jan Odstrcil wrote:
> Hi,
>
> is here any way how to create XSD from XMI using EMF/XSD ?
>
> Exactly I have Class Diagram serialized in XMI and need to get correspondent
> XSD file that describes same data from XSD point of view.
>
> Thanks
>
> Jan
|
|
|
Re: Convert XMI to XSD. [message #578031 is a reply to message #29361] |
Thu, 11 September 2003 22:26 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
Jan,
The only way to do this would be to import the class diagram as an Ecore model
and then to use the code generator to generate the model; if the "Generate
Schema" property set to true, the generation step will produce .xsd files
corresponding to the XMI serialization of the model. Unfortunately EMF doesn't
support importing directly from an XMI serialization of a class diagram, so this
may not be very helpful. The resulting schema is pretty ugly too, and we are
currently looking at how to generate better schemas...
Jan Odstrcil wrote:
> Hi,
>
> is here any way how to create XSD from XMI using EMF/XSD ?
>
> Exactly I have Class Diagram serialized in XMI and need to get correspondent
> XSD file that describes same data from XSD point of view.
>
> Thanks
>
> Jan
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03476 seconds