Author Topic: XMI Merge: Root Package in XML does not match the selected package in the model  (Read 152 times)

rxcolvin

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
If I export a package in XMI and then merge - using the "Direct" option -   the same XMI into the same place in the model it gives and error.

I get the same problem if try the merge from the parent of the original package.

(IN this simple case there are no changes to merge of course, but that is not the issue because it should still nominally work and adding changes makes no difference, in fact? )

Any ideas what this error is trying to tell me, because?

thx.

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6200
  • Karma: +47/-5
    • View Profile
Enterprise Architect believes you are trying to compare two unrelated packages because the unique id (guid) for the top level package in the XMI and the package you have selected are different.
Simon

support@sparxsystems.com

rxcolvin

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
 I've just exported a package in a project and then just tried to re-import the generated XMI into the same place in the original project, so the GUIDs are all the same.

I've also noticed that I get the same error if ones tries an import with merge, when the merge file happens to  contains no differences. Perhaps these are related, in which case I suspect this is a bug.