Re: Question about XMI
Ralf Habacker <[email protected]> Wed, 23 Apr 2014 21:43:43 +0200
| Newsgroups | gmane.linux.umbrello.user |
|---|---|
| Message-ID | <[email protected]> |
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