Book a Demo

Author Topic: Importing XMI 2 from Borland Together into EA  (Read 3870 times)

GJM

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Importing XMI 2 from Borland Together into EA
« on: August 05, 2011, 08:49:32 pm »
product version: EA 8.0.864.

I'm trying to import an XMI file generated from Borland Together in UML2 (XMI 2) into Sparx EA.

I've checked the XML and it appears all the information (descriptions, links, etc) are in the file.

However, when I try and import the file into EA I only get the names and links. I lose the descriptions and some of the relationships. Seems to be quite hit and miss what gets pulled in.

Any suggestions? I have considered writing an XSLT transform - but I'd rather not if I can avoid it.

Thanks
GJM

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Importing XMI 2 from Borland Together into EA
« Reply #1 on: August 08, 2011, 05:30:30 pm »
GJM,

First suggestion would be to upgrade to the latest version (9.0.908 at the moment). I think I read some things about xmi import in the release notes so that might help.

Then you'll have to figure out what didn't get transferred and why. Most often these types of problems occur because the UML tool (either one) doesn't comply with the standard XMI structure, and decided to store a piece if information in the wrong place.

If the xmi file is correct according to the UML specifications, and you still can't import it correctly then you can send a bug report to Sparx.

Geert

PS. You can always ask Sparx Support to help you.  They are usually pretty fast with excellent help

GJM

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Importing XMI 2 from Borland Together into EA
« Reply #2 on: August 08, 2011, 08:55:13 pm »
Hi Geert,

Thanks for the swift response. I'll arrange with my ICT support team to get the latest version and let you know if there any remaining issues.

Having delved deeper into the XMI - it looks like the missing description information is in a body section for each object in the XMI, rather then description attribute that EA expects.

I've also found that the Borland tool hasn't exported Links for all objects. So, I'm discussing with the team I got the file from and hope to find out why that's the case.

Many Thanks
GJM