[umbrello] [Bug 56184] Support loading of foreign XMI file formats

Oliver Kellogg bugzilla_noreply at kde.org
Sun Apr 17 13:59:29 BST 2022


https://bugs.kde.org/show_bug.cgi?id=56184

--- Comment #106 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 5803dcd2a91e2e66c372376cbc7586a080a004d7 by Oliver Kellogg.
Committed on 17/04/2022 at 12:58.
Pushed by okellogg into branch 'master'.

umbrello/umldoc.cpp : Add basic support for loading StarUML v5 XMI v2.1

- In function loadUMLObjectsFromXMI loop of node over element children
  move the code
    if (tagEq(type, QLatin1String("packagedElement")) ||
               tagEq(type, QLatin1String("ownedElement"))) {
        type = tempElement.attribute(QLatin1String("xmi:type"));
    }
  up by a few lines to precede the test for tagEq(type, "Model").
  Reason: StarUML generates a model element
    <packagedElement [...] xmi:type="uml:Model">
  nested inside the outer envelope
    <uml:Model [...] xmi:type="uml:Model" name="RootModel">

M  +7    -6    umbrello/umldoc.cpp

https://invent.kde.org/sdk/umbrello/commit/5803dcd2a91e2e66c372376cbc7586a080a004d7

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list