Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XMI, Rose, and EML
XMI, Rose, and EML [message #32732] Wed, 05 November 2003 19:36 Go to next message
Eclipse User
Originally posted by: pbirkel.mitre.org

Good Day;

I'm currently a "sufficiently knowledgable" user of Rational Rose and I'm
looking for a bi-directional path to/from XMI. Various hints scattered
around the net suggest that the only available mechanism is via the EML
environment, and after loading the appropriate stuff for EML I see how to
get from a .cat to a working EML project. I've also reviewed the tutorial
showing an XMI-to-EML project example. But I'm still not sure how to
connect-the-dots.

1. How do I get from an EML project to an XMI file?

2. How do I get from an EML project to a Rose PTL or CAT file?

3. What questions should I really have asked :-)?

Thanks!
Re: XMI, Rose, and EML [message #32760 is a reply to message #32732] Thu, 06 November 2003 05:08 Go to previous message
Eclipse User
Originally posted by: merks.ca.ibm.com

Paul,

I suppose you mean EMF when you say EML? (I don't know what EML is.) I'm
unsure if this question has anything to do with XML Schema or if this is
simply a question about EMF's capabilities in terms of support for XMI. When
you talk about XMI, I'm not sure if it's an XMI serialization of your
metamodel (i.e., a .cat file) you are interested in or an XMI serialization
of model instances. I don't understand how a project and an XMI file can be
related in a way that would allow you to "go from one to the other" so I
don't know how to answer questions 1 and 2 at all, and I'm a loss for where
this is going, so I can't answer question 3 either. Sorry, all I can give is
a blurb that may or may not be related to what you are asking.

EMF lets you convert a .cat file or .xsd file to a .ecore file (and .genmodel
file); there's no path for converting the .ecore back to a .cat but it is
possible to generate .xsd representing the grammar for the XMI serialization
of instances of the metamodel. From the .ecore metamodel you can generate
Java code or simply emulate the metamodel dynamically. Using either you can
create model instances that can be serialized as XMI and deserialized again.
If this doesn't answer the questions, you'll need to rephrase...


"Paul A. Birkel" wrote:

> Good Day;
>
> I'm currently a "sufficiently knowledgable" user of Rational Rose and I'm
> looking for a bi-directional path to/from XMI. Various hints scattered
> around the net suggest that the only available mechanism is via the EML
> environment, and after loading the appropriate stuff for EML I see how to
> get from a .cat to a working EML project. I've also reviewed the tutorial
> showing an XMI-to-EML project example. But I'm still not sure how to
> connect-the-dots.
>
> 1. How do I get from an EML project to an XMI file?
>
> 2. How do I get from an EML project to a Rose PTL or CAT file?
>
> 3. What questions should I really have asked :-)?
>
> Thanks!
Re: XMI, Rose, and EML [message #580526 is a reply to message #32732] Thu, 06 November 2003 05:08 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25740
Registered: July 2009
Senior Member
Paul,

I suppose you mean EMF when you say EML? (I don't know what EML is.) I'm
unsure if this question has anything to do with XML Schema or if this is
simply a question about EMF's capabilities in terms of support for XMI. When
you talk about XMI, I'm not sure if it's an XMI serialization of your
metamodel (i.e., a .cat file) you are interested in or an XMI serialization
of model instances. I don't understand how a project and an XMI file can be
related in a way that would allow you to "go from one to the other" so I
don't know how to answer questions 1 and 2 at all, and I'm a loss for where
this is going, so I can't answer question 3 either. Sorry, all I can give is
a blurb that may or may not be related to what you are asking.

EMF lets you convert a .cat file or .xsd file to a .ecore file (and .genmodel
file); there's no path for converting the .ecore back to a .cat but it is
possible to generate .xsd representing the grammar for the XMI serialization
of instances of the metamodel. From the .ecore metamodel you can generate
Java code or simply emulate the metamodel dynamically. Using either you can
create model instances that can be serialized as XMI and deserialized again.
If this doesn't answer the questions, you'll need to rephrase...


"Paul A. Birkel" wrote:

> Good Day;
>
> I'm currently a "sufficiently knowledgable" user of Rational Rose and I'm
> looking for a bi-directional path to/from XMI. Various hints scattered
> around the net suggest that the only available mechanism is via the EML
> environment, and after loading the appropriate stuff for EML I see how to
> get from a .cat to a working EML project. I've also reviewed the tutorial
> showing an XMI-to-EML project example. But I'm still not sure how to
> connect-the-dots.
>
> 1. How do I get from an EML project to an XMI file?
>
> 2. How do I get from an EML project to a Rose PTL or CAT file?
>
> 3. What questions should I really have asked :-)?
>
> Thanks!
Previous Topic:XMI, Rose, and EML
Next Topic:Maximum content for <all> ??
Goto Forum:
  


Current Time: Thu Apr 17 05:48:07 EDT 2014

Powered by FUDForum. Page generated in 0.01763 seconds