[Issue 6461] New - XMI Import of OMG PrimitiveTypes.xmi failure

[email protected] Sun, 7 Apr 2013 21:35:23 -0700 (PDT)
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6461
                 Issue #|6461
                 Summary|XMI Import of OMG PrimitiveTypes.xmi failure
               Component|argouml
                 Version|current
                Platform|All
                     URL|
              OS/Version|Windows Vista
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Other
             Assigned to|linus
             Reported by|kangagorillapig






------- Additional comments from [email protected] Sun Apr  7 21:35:23 -0700 2013 -------
When I try to import the PrimitiveTypes.xmi file from OMG/MOF/UML I get a
failure saying that no XMI version element is found on the second line.

This is the error message

XMI format error : org.argouml.model.XmiException: XMI parsing error at line: 2:
XMI version attribute is missing.

This is the second line of that file

<xmi:XMI xmlns:xmi="http://www.omg.org/spec/XMI/20110701"
xmlns:uml="http://www.omg.org/spec/UML/20110701"
xmlns:mofext="http://www.omg.org/spec/MOF/20110701">

If I have read the XMI (2.4.1) spec correctly an explicit version is no longer
required as it is implicitly encoded into the XMI URI, e.g. 20110701.

So the question am I not understanding the spec, or does Argo not support this
version of XMI, only an older spec version which requires the explicit version
value or am I simply on the wrong track?

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=3052729

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.