Book a Demo

Author Topic: XMI export  (Read 4545 times)

polivka

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
XMI export
« on: July 11, 2005, 03:55:09 am »
Hi, i have problem exporting XMI to the Rational Rose. Exported xmi is not the same as the RR produces.
I need to load that xmi to other software (ESRI Case tools) and they support just RR and Visio, ea export doesn't work.
I tried to find the differences between them (EA rose export and real rose) and .. there are quite many of them.

etc:

in ea exported file there are stereotypes which are mising in rr version
/XMI/XMI.content/UML:Stereotype
/XMI/XMI.content/UML:Model/UML:Namespace.ownedElement/UML:Stereotype

in rr they use atribute generalization
<UML:Class generalization=G.60 ../>
in ea it is element:
<UML:Class  <UML:GeneralizableElement.generalization  ../> ../>

and so on..

I was thinking to write some transformation to achive the same structure, but what if ea exported structure will change?
I wonder what to do? Do you have any ideas?

Thanks
Libor

thomaskilian

  • Guest
Re: XMI export
« Reply #1 on: July 11, 2005, 04:18:04 am »
There is an option to export RR-style XMI from EA. Have you tried that? Also there are many threads about XMI here in that board. Maybe you search for XMI & ROSE.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: XMI export
« Reply #2 on: July 11, 2005, 06:31:48 am »
Hi Libor,

I managed to round-trip a Rose model with EA, during early testing.  However, I did start with a Rose model - which as I understand it isn't quite your situation.

However as Thomas has said, make sure you use the Unisys Rose output formats.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

polivka

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: XMI export
« Reply #3 on: July 11, 2005, 06:39:37 am »
i have tried export RR -style xmi, i am talking about it.
unfortunetely RR style xmi is very different to the one produced directly by RR. so i would like to check other posibilities before doing  some kind of xml transformation  
Libor    

thomaskilian

  • Guest
Re: XMI export
« Reply #4 on: July 12, 2005, 02:14:51 am »
You didn't tell us what the real problem is - besides the different format. Isn't it possible to import via XMI? And how often do you need to transfer data?

polivka

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: XMI export
« Reply #5 on: July 12, 2005, 08:03:26 am »
We need that exports daily.
real problem: maybe i will try to explain once more:

We are now using EA for modeling sw applications and we would like to use it also for modeling GIS datawerehouses, so we bought  tool for generating geodatabase structures from xmi files. That tool supports xmi files from rational rose and microsoft visio.

I tried that tool with ea-RR style xmi exports but the tool crashed without any messages.
I tried to get support from the provider of that tool but without any success, they support just RR and Visio no others.
So then i tried to compare ea-RR style xmi file with RR output to find what is causing the crash.

But there are so many differences that it is very hard to tell which one can be the real problem.

Here are my xmi files:
ea_rose.xml - ea rr style export
rose.xml - real rr
http://polivka.wz.cz/xmi.zip

I just want to ask if there
is any chance that EA will produce correct RR style xmi in future?

sorry for bothering
Libor




mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: XMI export
« Reply #6 on: July 12, 2005, 09:36:03 am »
Quote
is any chance that EA will produce correct RR style xmi in future?
Since XMI http://www.omg.org/technology/documents/modeling_spec_catalog.htm#XMI is an OMG specification, I don't think that RR has the monopoly on "correctness".

However, these various tools should at least give you some feedback as to why they don't want to accept the XMI you are giving them - shouldn't they ??

Perhaps you could ask the vendor(s) for a spec of the XMI elements that they expect and support ...

There should really be something from the OMG to validate XMI and ensure it is inter-operable, rather like the Sun compliance tests for Java.
« Last Edit: July 12, 2005, 09:38:56 am by mikewhit »

polivka

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: XMI export
« Reply #7 on: July 12, 2005, 11:55:29 pm »
OMG specification is nice but unfortunetely very free:

I checked just few elements. For example UML:Class generalization can be element or attribute>

EA uses element:
<UML:Class ..>
<UML:GeneralizableElement.generalization>
<Foundation.Core.Generalization xmi.idref="EAID_D7797A66_3D9F_489f_9D41_D2F8CAD64EDA"/>
</UML:GeneralizableElement.generalization>
..
</UML:Class>

RR uses attribute:
<UML:Class generalization="G.4">

both represantations are omg correct. Compliance test would be good,but log distance run.

I'd like to finish this somehow. Can someone, form EA, tell me, if they fix the RR style xmi output? Is it going to be supported in future?  



mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: XMI export
« Reply #8 on: July 13, 2005, 01:42:23 am »
Someone with too much time on their hands, and copies of Rose, EA and Visio could attempt an XMI transformation utility (in Perl, Thomas !), if the schema equivalences are known.

But this is not a solution for you, I'm afraid ...


thomaskilian

  • Guest
Re: XMI export
« Reply #9 on: July 13, 2005, 02:31:21 am »
Quote
... (in Perl, Thomas !)...

If I didn't have to pay loan and interest for my house, this would be a nice job ;)