Book a Demo

Author Topic: Import from XMI  (Read 4573 times)

kadamowi

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Import from XMI
« on: October 29, 2009, 03:19:23 am »
I have Data Model in ERwin. This tool have posibility to export it to "Spaarx Enterprise Architect" format as a XMI file.
I exported it but I can't import it to EA   :-/ (version 7.5)

I have error:
Code 0xc00ce014
Source = Line : 4; Char : 24
URL file::..... EA/UML_EA.dtd
Error Description = Element content is invalid according to the DTD/Schema
Expecting: XMI header, XMI content, ...

Have You any idea ??


Import file looks like this:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE XMI SYSTEM "UML_EA.dtd">
<XMI xmi.version="1.1" xmlns:UML="omg.org/UML1.3">
<XMI xmi.version="1.0">
<XMI.header>
<XMI.documentation>
<XMI.exporter>Meta Integration Model Bridge (in 'OMG XMI 1.0 for UML 1.3' mode)</XMI.exporter>
<XMI.exporterVersion>6.0.3</XMI.exporterVersion>
</XMI.documentation>
<XMI.metamodel xmi.name="UML" xmi.version="1.3" />
</XMI.header>
<XMI.content>
<Model_Management.Model xmi.id="_1">



smendonc

  • EA User
  • **
  • Posts: 148
  • Karma: +5/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Import from XMI
« Reply #1 on: October 29, 2009, 06:38:23 am »
Try using 'OMG UML 1.x XMI 1.x' as the Type of export from ERWin.  I've had no issues importing the resulting model into Sparx.

Stan.

kadamowi

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Import from XMI
« Reply #2 on: October 29, 2009, 11:35:20 am »
Can You write me more information about that ??

Now in *.xml i have line:
<!DOCTYPE XMI SYSTEM "XMI-UML-99-10-05_xmi_1.1_uml_1.3.dtd">

and error because EA can't find file dtd

Kris

update:
I set "Print DTD Reference" to 'false' and error disappeared.
« Last Edit: October 29, 2009, 11:54:16 am by kadamowi »

smendonc

  • EA User
  • **
  • Posts: 148
  • Karma: +5/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Import from XMI
« Reply #3 on: October 30, 2009, 04:55:00 am »
You are correct, the only change I had to make to the defaults for the option I noted above was to set the print DTD to false.  Thanks for clarifying.

Stan.