Book a Demo

Author Topic: XMI inport error  (Read 5791 times)

DaveO

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
XMI inport error
« on: November 07, 2007, 09:26:02 am »
I am attempting to load the HL7-RIM xmi file and I get the following error:

Error:
Code = 0xc00ce51f
Source = Line :1; char : 5
Error Description = Invalid Unicode character

Any assistance with resolving this problem would be greatly apreciated.

Thanks
daveo

Here are the first few lines of the input file:


<?xml version = '1.0' encoding = 'UTF-16' ?>
<!DOCTYPE XMI SYSTEM 'uml.dtd' [
<!ELEMENT uisToolName (#PCDATA)>
<!ELEMENT uisDiagramName (#PCDATA)>
<!ELEMENT uisDiagramStyle (#PCDATA)>
<!ELEMENT uisDiagramPresentation (Foundation.Auxiliary_Elements.Presentation*)>
<!ELEMENT UISDiagram (uisDiagramName, uisToolName, uisDiagramStyle, uisDiagramPresentation*)>
<!ATTLIST UISDiagram xmi.id ID #REQUIRED>
<!ELEMENT uisOwnedDiagram (UISDiagram*)>
<!ELEMENT UISModelElement (uisOwnedDiagram*)>
<!ATTLIST UISModelElement xmi.id ID #REQUIRED>
<!ENTITY bs "&#38;#08;">
<!ENTITY vt "&#38;#11;">
<!ENTITY ff "&#38;#12;">
]>
<XMI xmi.version = '1.0'>
 <XMI.header>
   <XMI.documentation>
     <XMI.exporter>Unisys.IntegratePlus.2</XMI.exporter>
     <XMI.exporterVersion>4.0.3</XMI.exporterVersion>
   </XMI.documentation>
   <XMI.metamodel xmi.name = 'UML' xmi.version = '1.1'/>
 </XMI.header>

dballard

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: XMI inport error
« Reply #1 on: November 07, 2007, 09:51:09 am »
Try UTF-8 and see if the file loads.

Dave Ballard

DaveO

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: XMI inport error
« Reply #2 on: November 07, 2007, 10:08:42 am »
Just tried the 8  it and got the same error

dballard

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: XMI inport error
« Reply #3 on: November 07, 2007, 11:37:15 am »
I cut and pasted your DTD and tested it with Meta Integration Model Bridge as a DTD HL7 and it says that line 2 has a syntax error.

Dave.

VK

  • EA Administrator
  • EA User
  • *****
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: XMI inport error
« Reply #4 on: November 07, 2007, 01:50:16 pm »
Hi daveo,

The lines 2 - 15 in your input file extends "uml.DTD". EA does not support such an inline DTD extension. Delete these lines and then import the file into EA.

Cheers.