Book a Demo

Author Topic: BUG: Import XMI 2.1 looses "Component" elements  (Read 3819 times)

AndyG

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
BUG: Import XMI 2.1 looses "Component" elements
« on: July 02, 2008, 07:53:20 pm »
Using EA 7.0.818

I exported a model (including the root node) from a project stored in an EAP file to XMI and imported that into a new project (twice, one in an EAP file and one on oracle 9i). I am using UML2 features so exported to XMI 2.1.

The resulting target projects were missing a number of "Component" elements - many but not all had gone (I haven't noticed other element types disappearing)

The elements do exist in the XMI.

Exporting to XMI 1.1 and reimporting appears more robust, i found an element that had moved location (a component became nested below a neighbouring component) but at least eveything is there.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: BUG: Import XMI 2.1 looses "Component" element
« Reply #1 on: July 02, 2008, 10:17:06 pm »
Hi Andy,

Recently there were issued reported with 'moving' elements in XMI round trips. This was since build 818, so you might want to upgrade.

If moving to build 830 - or 831 which sounds like it is about to be released - solves both problems then you're home free.

Otherwise...

Perhaps you could send the offending XMI to Sparx, since I don't know if they've been able to duplicate this problem. Your copy - with the source project if you can - could help. Use the Registered Users version of the bug report form which allows you to attach files (remember to compress them first).

As far is the XMI 2.1 problem, this is serious. While the older XMI version seems to be what EA expects to use for a round trip, issues with XMI 2.1 are serious indeed. I suggest you file this as a separate bug report - both issues need solution and the two appear distinct - and attach the files again (if you can).

Please post back and let us know which way this ends up going.

David
No, you can't have it!