But when I try to process my exported model, I get an exception:
[...]
Root Exception .: javax.jmi.xmi.MalformedXMIException: org.netbeans.lib.jmi.util.DebugException: Element name cannot be resolved, unknown package: Foundation.Core.ModelElement.name
javax.jmi.xmi.MalformedXMIException: org.netbeans.lib.jmi.util.DebugException: Element name cannot be resolved, unknown package: Foundation.Core.ModelElement.name
[...]
Looking around AnrdoMDA archives, I see this very problem posed in January, and the answer (by Chad Brandon, 2005-01-03) was to export the model (explicitly stating MagicDraw) using XMI 1.1 or 1.2 (see included email below.)
I have MagicDraw 9.5 professional, and the only XMI version enabled is the 1.0 version. Furthermore MagicDraw documents say 1.0 is the only version supported.
What am I missing?
Thanks, Linus
ps. also posted this to the magicdraw support, but maybe someone here is familiar with this. Besides, I won't hear from them for a while.
From: Chad Brandon <[EMAIL PROTECTED]>
RE: Exception: Element name cannot be resolved, unknown package: Foundation.Core.ModelElement.name
2005-01-03 05:57
Hi Rene,
It sounds like you might be saving your XMI in version 1.0, try saving your project (using Magic Draw) to 1.1 or 1.2.
Chad
_____
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, January 03, 2005 6:52 AM To: [EMAIL PROTECTED] Subject: [Andromda-user] Exception: Element name cannot be resolved, unknown package: Foundation.Core.ModelElement.name
Hello.
I tried to generate code from a simple model and run into this problem - If I start maven, the builds stops with this message:
ERROR [ModelProcessor] Error performing ModelProcessor.process with model(s) --> "file:C:/Temp/mda/demo/mda/src/uml/Demo Model.xmi" INFO [AndroMDA] Exception recorded in --> "C:\Temp\mda\demo\andromda050103142002.exc"
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
