Book a Demo

Author Topic: Exporting XMI 2.1 to UModel from EA  (Read 7372 times)

varunM

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Exporting XMI 2.1 to UModel from EA
« on: August 29, 2007, 08:19:13 pm »
I exported a UML 2.1 daigram from Enterprise Architect into XMI 2.1 file and then tried to import that file in Altova UModel. XMI is supposed to be a 'Standard' for import/export of UML diagrams. But when I tried to import the file to Altova UModel, it was not able to find a lot of xmi:id's for a lot of xmi:idref. Am I doing something wrong ??? or is there some problem in the exported file ???
Please tell me the best possible way out

Thanks in advance

dbax

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
  • One EA To Rule Them All
    • View Profile
Re: Exporting XMI 2.1 to UModel from EA
« Reply #1 on: August 30, 2007, 04:46:40 am »
I find this very frustrating too! In my case though I tried the same but between Rational Software Architect and EA and it somewhat succeeded but not to my expectations. However, my only explanation to this is that even though UML tool vendors claim they support XMI 2.1 they do add their own "flavor" to it making it a bit more difficult for us to exchange the models.
Having said this, the best way that I found to do this is to create same sample models in both tools, export both into XMI and then compare the differences. Then, you will be able to see if it is in fact the XMI file that is being produced differently from both tools or their XMI export/import engine is "funky".
From my experience I had no issues importing XMI files from other tools into EA. Granted, I had some clean up work to do afterwards but only with diagram layouts, structure was fine.

kayani

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Exporting XMI 2.1 to UModel from EA
« Reply #2 on: September 03, 2007, 05:12:05 pm »
Have you tried to export with 'Enable full EA Roundtrip' unchecked in EA? ::)
and excluding EA Tagged Values.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Exporting XMI 2.1 to UModel from EA
« Reply #3 on: September 04, 2007, 12:35:50 am »
What do you mean by exporting a "diagram" to xmi?
I would expect that you would be exporting a model or part of a model to xmi.
If I understand it correctly the error you get indicates that it can't find the id's referenced by "idref" tags.
That would seem like the type of error you would get when you export only a part of your model to xmi, and forget to include the "referenced" part.
To test this you could export the whole model to xmi and try to import it again to see whether you get the same type or error.

softwaredeveloper

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Exporting XMI 2.1 to UModel from EA
« Reply #4 on: September 13, 2007, 08:17:11 pm »
did you verify if the exported XMI file from EA defines those id's UModel complains about ?