Book a Demo

Author Topic: Multiple stereotypes not exported in XMI  (Read 4411 times)

aloeffen

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Multiple stereotypes not exported in XMI
« on: June 08, 2011, 01:49:50 am »
Hi,

it seems that EA doesn't export all stereotypes (for attributes, associations and classes) to XMI, but only the first in the list. Is this correct and will this be fixed?

Arjan

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Multiple stereotypes not exported in XMI
« Reply #1 on: June 08, 2011, 06:12:25 am »
Did you just not find them in the XMI file or did you do a roundtripping test? And which XMI version did you use?

As far as I remember multiple stereotypes are not lost when exporting to XMI 1 or XMI 2 and importing into another project, so they must be hidden somewhere in the XMI files.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Multiple stereotypes not exported in XMI
« Reply #2 on: June 08, 2011, 04:02:50 pm »
Arjan,

If this is really the case then it is a serious bug as EA relies on XMI export/import for its version control.

Geert

aloeffen

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Multiple stereotypes not exported in XMI
« Reply #3 on: June 08, 2011, 04:45:12 pm »
Frank, Geert,

I tried the roundtrip, and the import did return multiple stereotypes. So I have a problem in understanding how this is encoded in XMI 1.1. I find the stereotype enccoded (only?) as
UML:TaggedValue tag "$ea_dst_xref_property". This holds a complex value which is not parsed easily. XMI 1.1 in this respect doesn't  offer easy access to this information.

Is this a reason to look at XMI 2.1? Is this a (more) broadly supported XMI version?

Thanks in advance,
Arjan