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 havent done any UML for quite a while; this is one of the reasons for doing the project. As a result Im sorry if I appear to ask rather obvious questions. Regards Roger The XMI is: <?xml version="1.0" encoding="windows-1252"?> <XMI xmi.version="1.2" xmlns:UML="org.omg.xmi.namespace.UML" timestamp="2005-06-27 14:43:22"> <XMI.header> <XMI.documentation> <XMI.exporter>Enterprise Architect</XMI.exporter> <XMI.exporterVersion>4.1</XMI.exporterVersion> </XMI.documentation> <XMI.metamodel XMI.name="UML" XMI.version="1.4"/> </XMI.header> <XMI.content> <UML:Model name="Logical Model" xmi.id="MX_EAID_E97BDE9C_7D92_4483_AFAB_DC3505208AB0" isRoot="true" isLeaf="false" isAbstract="false" isSpecification="false" visibility="public"> <UML:Namespace.ownedElement> <UML:Class name="Class1" xmi.id="EAID_CB538527_8327_4741_8728_25A482994722" visibility="public" isSpecification="false" isRoot="false" isLeaf="false" isAbstract="false" isActive="false"> <UML:ModelElement.stereotype> <UML:Stereotype xmi.idref="EAID_414E8439_4CDC_4102_92E1_8345FF08BB33"/> </UML:ModelElement.stereotype> <UML:Classifier.feature> <UML:Attribute name="a1" xmi.id="EAID_FC744DC4_3590_4329_83FD_DA365EB7DAFE" visibility="public" ownerScope="instance" changeability="changeable" ordering="unordered" targetScope="instance"> <UML:StructuralFeature.type> <UML:DataType xmi.idref="eaxmiid0"/> </UML:StructuralFeature.type> <UML:StructuralFeature.multiplicity> <UML:Multiplicity xmi.id="EAID_68A8603B_3A37_48c9_8E54_F335E5A5C1DB"> <UML:Multiplicity.range> <UML:MultiplicityRange xmi.id="EAID_D253BE6F_A537_441c_8B64_0BA8D49406D2" lower="1" upper="1"/> </UML:Multiplicity.range> </UML:Multiplicity> </UML:StructuralFeature.multiplicity> <UML:Attribute.initialValue> <UML:Expression xmi.id="EAID_B410CD9F_F0BD_4dc4_849B_ECCC192E76E2"/> </UML:Attribute.initialValue> <UML:ModelElement.taggedValue/> </UML:Attribute> </UML:Classifier.feature> </UML:Class> <UML:Stereotype xmi.id="EAID_414E8439_4CDC_4102_92E1_8345FF08BB33" name="Entity" isSpecification="false" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Stereotype.baseClass>Class</UML:Stereotype.baseClass> </UML:Stereotype> <UML:DataType xmi.id="eaxmiid0" name="Long" visibility="private" isRoot="false" isLeaf="false" isAbstract="false"/> </UML:Namespace.ownedElement> </UML:Model> </XMI.content> <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