Home Support Forum
Modelio
Welcome, Guest
Please Login or Register.    Lost Password?
Problems importing XMI in Free Edition
(0 viewing) 
Discuss about UML Modeling and Modelio Modeler
Go to bottom
TOPIC: Problems importing XMI in Free Edition
#47
shaqmeister
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Problems importing XMI in Free Edition 1 Year, 6 Months ago  
This is a great product. One of the most intuitive modelling environments I`ve used. However, in testing it out, I`m having problems importing XMI. I don`t know if I`m missing something, or if the examples I`m trying to import are not in the right format, but when I select the .xmi file to import and press `Import`, it just sits there. No progress on the progress bar, but no error message either. It`s happy just like that, and I`m trying to work out what the problem is here.

Here`s an example from msdn.microsoft.com/en-us/library/aa140339.aspx:

<Foundation.Core.ModelElement.name>AccountService</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value="public" />
<Foundation.Core.GeneralizableElement.isRoot xmi.value="false" />
<Foundation.Core.GeneralizableElement.isLeaf xmi.value="false" />
<Foundation.Core.GeneralizableElement.isAbstract xmi.value="false" />
<Foundation.Core.Class.isActive xmi.value="false" />

<Foundation.Core.ModelElement.name>interestRate</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value="private" />
<Foundation.Core.Feature.ownerScope xmi.value="instance" />

<Foundation.Core.ModelElement.name>calculate</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value="public" />
<Foundation.Core.Feature.ownerScope xmi.value="instance" />
<Foundation.Core.BehavioralFeature.isQuery xmi.value="false" />
<Foundation.Core.Operation.specification />
<Foundation.Core.Operation.isPolymorphic xmi.value="false" />
<Foundation.Core.Operation.concurrency xmi.value="sequential" />


I`m thinking this surely needs some form of `wrapper` root, and an XML header, but I`m not sure of the specification.

Any pointers please?

Many thanks.
 
Logged Logged
  The administrator has disabled public write access.
#48
saintol
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Problems importing XMI in Free Edition 1 Year, 6 Months ago  
Hi,

I'd say that your xmi file is not in the right format.

Here is an example file I managed to import.


This attachment is hidden for guests. Please login or register to see it.
 
Logged Logged
  The administrator has disabled public write access.
#51
shaqmeister
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Problems importing XMI in Free Edition 1 Year, 6 Months ago  
Hi saintol

That is excellent, thank you. It worked a treat, and it gives me an example now to work from.

I'm trying to use .NET Reflector with the xmi4dotNet plugin, which together will generate and export xmi from .NET assemblies. I would then like to be able to import this straight into Modelio, but clearly the format is not quite right because Modelio stalls even with this.

What I'll be able to do now, though, is build a basic assembly and then compare the output from Reflector with the working example you've posted, and that should give me enough to work out what modifications I would need to make to Reflector output generally in order to get it to load.

So, once again thank you very much. Most helpful!

BS
 
Logged Logged
  The administrator has disabled public write access.
#174
goffe
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Problems importing XMI in Free Edition 1 Year, 1 Month ago  
Hi saintol,

I tried as well - but I didn't even come as far as shaqmeister obviously did: I didn't even see a file select dialog where I could tell the tool which file I wanted to import. I clicked to the according item in the context menu, but the only thing I observed was that the context menu closed.
Is there a secret trick to make it work?

Regards

goffe
 
Logged Logged
  The administrator has disabled public write access.
#175
support
Admin
Posts: 100
graph
User Offline Click here to see the profile of this user
modeliosoft
Re:Problems importing XMI in Free Edition 1 Year, 1 Month ago  
Hi all,

This problem is fixed in Modelio 1.0.1 (Service Pack 1) which you can get from the download page.

Here is how to solve this problem in the current/previous version:

1. Edit your Modelio shortcut
2. Add the following to the "Target" path: [space]-nl en
ex: "C:\Program Files\Modelio\modelio.exe" -nl en
3. Restart Modelio and create a new project.

This problem is due to the OS language. The above parameter forces the language to English.


Best regards
 
Logged Logged
 
Last Edit: 2010/07/07 16:08 By modelio_info.
 
--
The Modelio Tech Support Team
  The administrator has disabled public write access.
Go to top