Book a Demo

Author Topic: Import/Export XMI file  (Read 6154 times)

peterg12345

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Import/Export XMI file
« on: May 14, 2009, 08:53:58 am »
Hello,

I have a package consisting of a use case, block definition, activity, and sequence diagrams, and am trying to export it using XMI and then subsequently importing it into another model.

The UCD and AD diagrams import fine, but not the other two. I can live with the BDD not importing, but the SD is crucial.

I am using 7.5.844 Corporate.

My export settings:
Format XMI output is checked
Enable full EA roundtrip is checked
XMI Type = XMI 2.1

My import settings:
Import Diagrams is checked
Strip GUID's is checked

TIA, Pete

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Import/Export XMI file
« Reply #1 on: May 14, 2009, 12:16:50 pm »
Try using XMI 1.1, and send an email to Sparx Systems.

XMI 1.1 should work, and if it does, it means that you should be able to send test data for us to work with.

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Import/Export XMI file
« Reply #2 on: May 14, 2009, 03:59:29 pm »
Any plans for XMI 2.1 to "work" (i.e export and import being correct and complete)?

peterg12345

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Import/Export XMI file
« Reply #3 on: May 15, 2009, 04:12:40 am »
Unfortunately, XMI 1.1 does not work either.

Any other suggestions?

Pete

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Import/Export XMI file
« Reply #4 on: May 15, 2009, 08:41:10 am »
Yes, XMI round trip issues are top priority for us.  But you'll need to send a bug report.

Since you can't send us XMI 1.1 either, copy the eap file (or transfer to an eap file) remove anything that isn't relevant, compact it (Tools | Manage .EAP File | Compact) and zip it to send it in.

megaman

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Import/Export XMI file
« Reply #5 on: May 16, 2009, 10:48:44 am »
i'm running into an issue with importing and exporting from XMI as well.  I have a package with a master document, and model documents i'd like to export from one model and then import into another.  pretty basic stuff.  i read the instructions and used default settings and it looked like the export succeeded.  

seemed so easy.  so then i tried to import.

i get the following message:
error:
code = 0xc00ce00e
The attribute 'xmi.idref' with namespace "...." which is not define anywhere in the document.

what does this mean?

even importing into the same model in a different package i get this error. :o

theives

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Import/Export XMI file
« Reply #6 on: June 26, 2009, 09:52:08 pm »
I am also struggling with Import/Export. My model contains requirements (SysML) with diagrams and dependecies of various types.

I can export to XMI 1.1 but when I try to import it I get:
Error:
Code = 0x00ce200
Source = Line : 27660; Char : 183
URL: fle:///C/PROGRAM~1/Sparks~1/EA/UML_EA.dtd
Error Description = The ID 'EAID_STS12' is duplicated.

If I try XMI 2.1 export then it imports but with a very large number (50ish) of errors in the log; "Error: Unknown Dependency Source or Target".
On opening the re-imported model lots of requirements are missing from the diagrams and have also lost thier associations/dependencies. The log also has lots of lines which just say "Add Classifier: " with no extra package/requirement name.

EA Version is 7.5.844, Database version 7.0

A similar but not identical problem of corrupted diagrams and links occurs (I assume for similar reasons) when I try to use SVN to control the packages.

theives

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Import/Export XMI file
« Reply #7 on: June 27, 2009, 12:18:54 am »
I have now tried Build 845 with no change to the symptoms.