Skip to content
Commit 5803dcd2 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

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">

CCBUG: 56184
parent c7fb93ec
Pipeline #164969 passed with stage
in 37 minutes and 53 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment