Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Importing XSD (who uses hypermodel ?)
Importing XSD (who uses hypermodel ?) [message #625432] Mon, 25 January 2010 15:31 Go to next message
malat is currently offline malatFriend
Messages: 2
Registered: January 2010
Junior Member
Hi there,

I am working in a project were we extensively make use of XSD. XSD is the actual file format we use to store our UML model.
I was trying to import our XSD file into Eclipse so as to see it 'visually'. This did not work as I expected. So I had to install hypermodel (xmlmodeling.com) to actually be able to generate a UML view of this XSD file. I was wondering if I did not miss anything obvious as eclipse is quite difficult to install (first time user). Or are there still people using hypermodel from xmlmodeling.com ?

Thanks
Re: Importing XSD (who uses hypermodel ?) [message #625478 is a reply to message #625432] Tue, 26 January 2010 09:12 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
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 :?
I know that XSD is recommended by W3C but for the modeling syntax only the OMG specifications are to be considered.

You need to transform your XSD into XMI manually (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.
Re: Importing XSD (who uses hypermodel ?) [message #625479 is a reply to message #625478] Tue, 26 January 2010 12:24 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26224
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.
Previous Topic:Sequence Diagrams Howto
Next Topic:Importing XSD (who uses hypermodel ?)
Goto Forum:
  


Current Time: Wed Nov 26 11:38:40 GMT 2014

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

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