RE: [mdr-users] Reading XMI from UML tools

Domingos Antonio Pereira Creado Júnior <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <0CA71212CA4EDD40A9ED64DE3D524CE8060DAE@MAILSRV1.aquarius.cpqd.com.br>
Hi Martin,

yes it is possible to skip the diagram export.


-----Original Message-----
From: Martin Matula [mailto:[email protected]]
Sent: terça-feira, 29 de março de 2005 10:42
To: [email protected]
Subject: Re: [mdr-users] Reading XMI from UML tools


Hi,

Alexandre Torres wrote:

>Hi Martin. 
>I tryed to generate from the 01-02-15_Diff.xml and the ant tool put a
>new 01-02-15_Diff.xml file in the xmi dir. I suppouse this is the one
>I should put in the jar, it that right?
>My question is, why should I use "M2_DiagramInterchangeModel.xml "
>instead of the 01-02-15_Diff.xml to read UML 1.4 tools like poseidon
>and magic draw ?
>I have tryed 01-02-15_dif with a poseidon XMI and it failed with :
>"org.netbeans.lib.jmi.util.DebugException: Name cannot be resolved: UML:Diagram
>at org.netbeans.lib.jmi.xmi.XmiContext.resolveElementName(XmiContext.java:596)"
>  
>
You can use the standard UML 1.4 XMI definition with MagicDraw. However 
Poseidon uses an extended UML 1.4 metamodel to be able to represent 
diagrams (which are not part of UML 1.4 XMI). The extended version is a 
result of merging UML 1.4 and UML 2.0 Diagram Interchange standards and 
the resulting XMI definition is the M2_DiagramInterchangeModel.xml you 
are referring to. You should still be able to import the Poseidon XMI if 
you choose to skip the diagram information from it (I think it is 
somehow possible to turn this option on in Poseidon).
Regards,
Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.