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

Oliver Kellogg bugzilla_noreply at kde.org
Sat Jun 6 16:53:00 BST 2020


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

--- Comment #95 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit c1aadd7c3333332c220eb8bce90fcdd4a0ad13e9 by Oliver Kellogg.
Committed on 06/06/2020 at 15:51.
Pushed by okellogg into branch 'release/20.04'.

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

> The list was missing the error
> " Unsupported xmi file version: "
>
> Notice that after "version:" there is no version indication.

umbrello/umldoc.cpp
- In function loadFromXMI1, if both "xmi.version" and "xmi:version" are
  not found then do not assume versionString.toDouble() as the version
  because in this case, versionString is empty.
  In the interest of best effort, attempt loading the file if the XMI
  version is unknown.

M  +8    -6    umbrello/umldoc.cpp

https://invent.kde.org/sdk/umbrello/commit/c1aadd7c3333332c220eb8bce90fcdd4a0ad13e9

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


More information about the umbrello-devel mailing list