Nina Moebius wrote:
> Hi All,
>
> I have two questions:
>
> 1) I am trying to convert a uml model into a mof model. To generate my
> UML model I use Poseidon For UML CE 4.0.1 with the template given on
> your website (
http://mdr.netbeans.org/uml2mof/templates.html). By using
> the UML2MOF tool with the xmi file created by Poseidon I get the
> following error: "Namespace cannot be resolved: UML2". Do you know a
> tool I can use to generate a xmi file that can be processed by the
> UML2MOF tool?
>
You can use the xslt script. It works for me.
I was not able to find again the original message on user list where
the original author John V. Sichi announced the script, but you can find
it here:
http://article.gmane.org/gmane.comp.java.netbeans.modules.mdr.user/3470You can processs by the script (like "xsltproc deleteUmlDiagrams.xsl
MMMM.xmi > MMMM_nouml2.xmi")
your xmi file (even with graphics information) to get a real xmi file,
which can be read by UML2MOF tool.
Angelo Gargantini