[Uml-devel] [Bug 136061] JJ: xml scheme: mixup of attribute names: *color and *colour

Michael Palomas mpalomas at gmail.com
Sat Dec 23 17:56:35 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=136061         




------- Additional Comments From mpalomas gmail com  2006-12-23 18:56 -------
Created an attachment (id=19019)
 --> (http://bugs.kde.org/attachment.cgi?id=19019&action=view)
Mixup spelling in xml scheme proposed patch

Hello,

here is my proposed patch for this bug (KDE 3.5 svn branch). Changed *colour to
*color in UMLWidget::saveToXMI , and in loadFromXMI first try to retrieve old
british  spelling to keep backward compatibility, then try with the american
one .

Tested on very simple project file (2 classes with colors changed) which used
the old mixup scheme, loaded correctly, then saved again, .xmi is then
consistent with only *color as expected.

I hope i did not miss more *colour attributes in other source files.

Cheers,

Michael




More information about the umbrello-devel mailing list