Re: [mdr-users] XMI Files

Martin Matula <[email protected]> Mon, 01 Aug 2005 22:20:42 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Ludger,
I found two problems:
1) instead of "javax.jmi.substituteName" tag you created " 
javax.jmi.substituteName" - note the initial space. That's why the 
substitute name does not work.
2) the "xmi.namespace" tag is attached to the root package. You need to 
attach the namespace tag to the immediate package of the elements that 
you want to store under this namespace - one option could be to attach 
this single namespace to all packages in your metamodel. The root 
package does not directly any elements (other than other packages and 
tags), that's why noting is stored using the defined namespace prefix.
Regards,
Martin

ludger goeke wrote:

>
>Hi Martin,
>
>I attached the XMI-Files to this mail.
>"metamodel" is the file without tags, metamodel is the file with tags.
>The xmi.namespace tag is attached to the xmi-element with the xmi.id 'a9',
>the javax.jmi.substituteName-tag is attached to the element with the xmi.id
>a'119'. 
>
>To my way of acting,I always delete the storage files before I load a new
>meatmodel.
>
>Regards, Ludger 
>
>  
>