[umbrello] Question about XMI
Ralf Habacker
ralf at habacker.de
Wed Apr 23 19:43:43 UTC 2014
Am 23.04.2014 19:37, schrieb Cindy Pacheco Alvarez:
> Hello!
Hi Cindy,
>
> I have some questions.
> First question is about if you use an XMI validator when the XMI file
> is imported.
The xmi loading code does a basic check of the xml file, but not a
complete validation, which makes loading more robust.
> If don't you know any?
Because the umbrello dtd is public available (see
https://projects.kde.org/projects/kde/kdesdk/umbrello/repository/revisions/master/entry/doc/xml/uml-1.4-umbrello.dtd
and
https://projects.kde.org/projects/kde/kdesdk/umbrello/repository/revisions/master/changes/doc/xml/umbrello-diagrams.dtd)
an offline check could be performed with
xmllint --dtdvalid uml-1.4-umbrello.dtd --noout <xmi-file>
> Second is where can i find the XMI schema?
see the mentioned link above.
> And the last one is which XMI version do you use to do import or export
Currently xmi 1.2 (uml 1.4) with umbrello diagram extension (see
https://projects.kde.org/projects/kde/kdesdk/umbrello/repository/revisions/master/show/doc/xml)
xmi 2.0/2.1 loading support is in currently in work (see
https://bugs.kde.org/show_bug.cgi?id=56184)
Regards
Ralf
More information about the umbrello
mailing list