Thanks for the help so far, I have now defined a new language (called UML 
unsurprisingly) in Enterprise Architect  in which I have defined a type Long. 
When I export the same class as before I get the same XMI as above, i.e. no 
datatype definition. If I now add an attribute of type Long to the class and 
export it I get the XMI below, which has the datatype definition in line 39. 
However when I run the XMI through AndroMDA I still get the same error as 
before. The following points arise:



1)      Is this the type of datatype definition you were referring to?



2)      If I export the XMI in Rose format (which EA allows) I get the same 
error



3)      Does AndroMDA expect all the datatype definitions to be part of the XMI 
regardless whether they are used. 



I should explain this is the first time I have used EA, and this the first time 
I have looked at XMI. In addition I haven’t done any UML for quite a while; 
this is one of the reasons for doing the project. As a result I’m sorry if I 
appear to ask rather obvious questions.



Regards



Roger



The XMI is:



<?xml version="1.0"&nbsp; encoding="windows-1252"?>

<XMI xmi.version="1.2" xmlns&#58;UML="org.omg.xmi.namespace.UML" 
timestamp="2005-06-27 14&#58;43&#58;22">

&nbsp; &nbsp;<XMI.header>

&nbsp; &nbsp;&nbsp; &nbsp;<XMI.documentation>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<XMI.exporter>Enterprise 
Architect</XMI.exporter>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;<XMI.exporterVersion>4.1</XMI.exporterVersion>

&nbsp; &nbsp;&nbsp; &nbsp;</XMI.documentation>

&nbsp; &nbsp;&nbsp; &nbsp;<XMI.metamodel XMI.name="UML" XMI.version="1.4"/>

&nbsp; &nbsp;</XMI.header>

&nbsp; &nbsp;<XMI.content>

&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;Model name="Logical Model" 
xmi.id="MX_EAID_E97BDE9C_7D92_4483_AFAB_DC3505208AB0" isRoot="true" 
isLeaf="false" isAbstract="false" isSpecification="false" visibility="public">

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;Namespace.ownedElement>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;Class 
name="Class1" xmi.id="EAID_CB538527_8327_4741_8728_25A482994722" 
visibility="public" isSpecification="false" isRoot="false" isLeaf="false" 
isAbstract="false" isActive="false">

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;<UML&#58;ModelElement.stereotype>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;<UML&#58;Stereotype 
xmi.idref="EAID_414E8439_4CDC_4102_92E1_8345FF08BB33"/>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;</UML&#58;ModelElement.stereotype>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;<UML&#58;Classifier.feature>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;<UML&#58;Attribute name="a1" 
xmi.id="EAID_FC744DC4_3590_4329_83FD_DA365EB7DAFE" visibility="public" 
ownerScope="instance" changeability="changeable" ordering="unordered" 
targetScope="instance">

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;<UML&#58;StructuralFeature.type>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;DataType xmi.idref="eaxmiid0"/>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;</UML&#58;StructuralFeature.type>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;<UML&#58;StructuralFeature.multiplicity>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;Multiplicity 
xmi.id="EAID_68A8603B_3A37_48c9_8E54_F335E5A5C1DB">

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;Multiplicity.range>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;<UML&#58;MultiplicityRange 
xmi.id="EAID_D253BE6F_A537_441c_8B64_0BA8D49406D2" lower="1" upper="1"/>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</UML&#58;Multiplicity.range>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</UML&#58;Multiplicity>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;</UML&#58;StructuralFeature.multiplicity>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;<UML&#58;Attribute.initialValue>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;Expression 
xmi.id="EAID_B410CD9F_F0BD_4dc4_849B_ECCC192E76E2"/>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;</UML&#58;Attribute.initialValue>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;&nbsp; &nbsp;<UML&#58;ModelElement.taggedValue/>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;</UML&#58;Attribute>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;</UML&#58;Classifier.feature>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</UML&#58;Class>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;Stereotype 
xmi.id="EAID_414E8439_4CDC_4102_92E1_8345FF08BB33" name="Entity" 
isSpecification="false" isRoot="false" isLeaf="false" isAbstract="false">

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
&nbsp;<UML&#58;Stereotype.baseClass>Class</UML&#58;Stereotype.baseClass>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</UML&#58;Stereotype>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<UML&#58;DataType 
xmi.id="eaxmiid0" name="Long" visibility="private" isRoot="false" 
isLeaf="false" isAbstract="false"/>

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</UML&#58;Namespace.ownedElement>

&nbsp; &nbsp;&nbsp; &nbsp;</UML&#58;Model>

&nbsp; &nbsp;</XMI.content>

&nbsp; &nbsp;<XMI.extensions xmi.extender="Enterprise Architect 2.5"/>

</XMI>
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1846#1846
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to