Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: DaveO 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 "&#08;">
<!ENTITY vt "&#11;">
<!ENTITY ff "&#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>
-
Try UTF-8 and see if the file loads.
Dave Ballard
-
Just tried the 8 it and got the same error
-
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.
-
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.