|
|
Re: Importing XSD (who uses hypermodel ?) [message #625479 is a reply to message #625478] |
Tue, 26 January 2010 12:24 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Vlad,
Comments below.
Vlad Varnica wrote:
> If I understand your demand you are talking about XSD which provides
> the syntax and defines a way in which elements and attributes can be
> represented in a XML document.
> The only problem I see is that the UML metamodel or EMF models are not
> using this syntax :?
In fact EMF can import an Ecore model from an XML Schema and will
serialize instances to conform to that XML Schema.
> I know that XSD is recommended by W3C but for the modeling syntax only
> the OMG specifications are to be considered.
Considered by whom? Part of EMF's success lies in being inclusive and
helping to provide data integration for models specified as XML Schemas.
>
> You need to transform your XSD into XMI manually
This doesn't even make sense. He's not asking to visualize instances of
his schema, he's asking to visualize the schema itself. There is no
direct mapping from XSD to UML provided at Eclipse. It is possible to
import to Ecore and export that to UML and of course it's possible to
use Ecore Tools to visualize the resulting Ecore just as if it were a
UML class diagram. But I'm not sure if that's what he wants. The Web
Tools project provides an XML Schema editor that includes a graphical
view; maybe that's a good approach.
> (I mean to write a parser) or to
> usehttp://www.eclipse.org/forums/index.php?t=thread&frm_ id=117 with
> then you will be able to visualize your UML diagrams using any of the
> UML plugin editor.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04440 seconds