[umbrello] [Bug 363582] It would be nice for XMI file to have stable format.

Robert Hairgrove bugzilla_noreply at kde.org
Tue Aug 11 15:44:45 BST 2020


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

Robert Hairgrove <code at roberthairgrove.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at roberthairgrove.com

--- Comment #13 from Robert Hairgrove <code at roberthairgrove.com> ---
I think the problem is that attributes of XML elements are not guaranteed to be
in any specific order by the XML standard. QDomDocument (used by Umbrello)
seems to put the attributes in random order any time it loads a file or saves
it to a string. The ordering of the elements themselves is stable, IIRC -- just
not the attributes.

An external processing step, such as XSLT suggested by Ralf Habacker, seems to
be the way to go.

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


More information about the umbrello-devel mailing list