Book a Demo

Author Topic: How to identify XMI Import errors  (Read 2983 times)

peterc

  • Guest
How to identify XMI Import errors
« on: August 14, 2018, 06:54:29 pm »
I have created several packages used to create model templates for the model wizard in an MDG Technology. When I use the wizard some Errors flash up, so I re-imported my model template through the XMI Import option. The log file generated also has errors (e.g. Unknown dependency source or target), but no help as to what reference is missing or even just a line number in the XML file.

I've obviously got something wrong, most likely referenced to an object outside of the package structure from which the XMI Export is done. There are many diagrams and elements, with an XMI file over 9000 lines, so manually identifying the error is not going to be easy.

Is there a way that I can get more information from EA (or some alternative XMI inspection program) which can help me identify the offending error?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to identify XMI Import errors
« Reply #1 on: August 14, 2018, 07:03:08 pm »
Since you have access to the source model, the easiest would probably be to write a small sql query searching for any relations to elements outside the package structure.
Inside EA searches/scratchpad you can use the macro #Branch# to get the id's of the packages in the selected package tree.

Geert