archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
955 stars 268 forks source link

unclear errormessage importing AMEFF #841

Closed GeraldGrootRoessink closed 2 years ago

GeraldGrootRoessink commented 2 years ago

bug reports

There is no recent error log

Version of Archi

4.9.3

Archi Plug-ins

CoArchi

Operating System

Windows 11

Expected Behaviour

AMEFF - file created by Sparx Enterprise Architect van be imported in Archi

Actual Behaviour

image

Steps to Reproduce the Behaviour

I have isolated the problem to a 2 kb AMEFF file. Optically it looks ok in the indicated row and column. It can also be re-imported in Sparx.

This is the file: BUS-fout.txt

Phillipus commented 2 years ago

The error message is an XML validation error message. It means that the XML file is incorrect. Yes, the message is cryptic but at least it points to the line number.

If Sparx can import that then their implementation of the AMEFF is wrong.

I'll close this one, perhaps you can report it to Sparx?

jbsarrodie commented 2 years ago

Maybe an important note: Sparx is not a certified ArchiMate tool and has never been. For a long time (and maybe even now) its implemention of ArchiMate has been know to be non compliant. So I don't expect this tool to be able to generate a valid AMEFF file.

Phillipus commented 2 years ago

The problem is with this line:

<node identifier="EAID_DN000000_3D16_4af7_B8F8_B3A62528228F" xsi:type="Label" x="11" y="551" w="1030" h="154">

The type is "Label" and this type cannot contain child nodes. It should be type "Container".

GeraldGrootRoessink commented 2 years ago

You guys are quick. Thanks a million. This helps me to unravel our present policy om tooling.