Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » XMI, Rose, and EML
XMI, Rose, and EML [message #32732] Thu, 06 November 2003 00:36 Go to next message
Eclipse UserFriend
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 10:08 Go to previous message
Eclipse UserFriend
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 10:08 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
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!


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XMI, Rose, and EML
Next Topic:Maximum content for <all> ??
Goto Forum:
  


Current Time: Thu Mar 28 22:47:28 GMT 2024

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

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

Back to the top