Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: kadamowi 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">
-
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.
-
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.
-
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.