Book a Demo

Author Topic: XMI Import problem  (Read 6312 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
XMI Import problem
« on: November 26, 2012, 11:14:43 pm »
Hello
I am having a problem importing a XMI file that was produced by EA.
The error says - unknown XMI Exporter or version

If I opt to view the XMI file with EA I can see that the exporter is set to EA.25

Does anyone know how I can import the XMI file

Cheers
Using V12

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: XMI Import problem
« Reply #1 on: November 27, 2012, 01:36:36 pm »
I'll assume you have an XMI 1.1 file.

It would have a header similar to the following.

Code: [Select]
<XMI xmi.version="1.1" xmlns:UML="omg.org/UML1.3" timestamp="2012-07-19 11:32:53">
      <XMI.header>
            <XMI.documentation>
                  <XMI.exporter>Enterprise Architect</XMI.exporter>
                  <XMI.exporterVersion>2.5</XMI.exporterVersion>
            </XMI.documentation>
      </XMI.header>

Note: That lists the exporter version as 2.5, not .25.

XMI 2.1 would look like
Code: [Select]
<xmi:XMI xmlns:uml="http://www.omg.org/spec/UML/20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701">
      <xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5"/>