Book a Demo

Author Topic: XMI 2.X Bug  (Read 7009 times)

aldrich

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
XMI 2.X Bug
« on: March 03, 2015, 04:05:21 am »

I need to move models between EA and Rational Software Architect using XMI 2.x. If a stereotype is not in a package, then the XMI exporter puts the stereotype into TheCustomProfile...a profile that does not exist. RSA complains about this dummy profile.

(See the issue raised on the OMG site https://github.com/cts2/cts2-specification/issues/1)

I've tried to fix up by looking up what stereotypes are in the standard profiles in Settings | Uml Types but I still have issues.

Even though The Chief Operations Officer has closed this issue (again, see the problem raised with the OMG), I still need to inter-operate with other modeling tools. Any thoughts? Our group is planning on migrating to MagicDraw if we can't find a way around this.

 

« Last Edit: March 03, 2015, 04:06:24 am by aldrichwright »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: XMI 2.X Bug
« Reply #1 on: March 03, 2015, 08:54:55 am »
On what grounds does RSA claim that the profile doesn't exist?

There may not be anything at the URI referenced for the profile, but that's not required. It's only a unique identifier and it's not actually required to point to anything.

You'll actually find the profile definition inside the Extension portion of the XMI.

If you are free typing stereotypes, or using any stereotypes that appear in Settings | UML Types, you are defining and using thecustomprofile as you go. The solution is to look at all the different stereotypes that you're finding in thecustomprofile and creating a profile for them explicitly.