Re: [mdr-users] RE: Namespace tag

Martin Matula <[email protected]> Tue, 02 Aug 2005 17:03:13 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Sorry - I should have realized this sooner - the tag id should be 
"org.omg.xmi.namespace", not "xmi.namespace".
Regards,
Martin

ludger goeke wrote:

>
>Hi Martin;
>
>the "javax.jmi.substituteName" tag for the  substitute name now works.
>But I still have a problem with the namespace. In the metamodel file the
>attachments of the xmi.namespace -tag look right, but the namespace didn´t
>appear in the XMI-Files in that store the contents of the mdr.
>Here is a sort of the metamodel
>
><Model:Package xmi.id = 'a118' name = 'StructuredClasses' annotation = ''
>          isRoot = 'false' isLeaf = 'false' isAbstract = 'false'  
>          visibility = 'public_vis'>
>          <Model:Namespace.contents>
>            <Model:Class xmi.id = 'a119' name = 'Class' annotation = '' 
>             isRoot = 'false'
>              isLeaf = 'false' isAbstract = 'false' visibility = 
>               'public_vis' isSingleton = 'false'>
>              <Model:GeneralizableElement.supertypes>
>                <Model:Class xmi.idref = 'a120'/>
>              </Model:GeneralizableElement.supertypes>
>            </Model:Class>
>          </Model:Namespace.contents>
>        </Model:Package>
>        <Model:Tag xmi.id = 'a121' name = 'xmi.namespace' annotation = '' 
>           tagId = 'xmi.namespace'>
>          <Model:Tag.values>Uml</Model:Tag.values>
>          <Model:Tag.elements>
>            <Model:Package xmi.idref = 'a118'/>
>          </Model:Tag.elements>
>        </Model:Tag>
>
>I attached the metamodel-file and the xmi-file with  a storage ( that is a
>simple composite structure diagram) to this mail.
>If you got the time, maybe you could take a look at those files.
>
>Regards Ludger 
>
>  
>