Hallo all,
I’m developing an application that is able to create simple sequence diagrams. I would like to export these sequence diagrams to XMI in order to edit them in VP-UML later.
Now I’m running into the problem that I don’t know how the XMI files need to be structured in order to import them successfully. A simple XMI file from a XMI how-to-guide was not imported because it said the file could not be parsed. I wonder why that happens if the file is valid XMI.
Then, I tried to reenginee the exported XMI file but I think most of the content is highly VP specific and too complex for what I need. Then I tried using a simpler format from argoUML which failed because the ArgoUML files could not be imported into VP-UML (“Unknown Exporter”).
So now I’m lost: how am I supposed to make use of the import function if VP-UML expects a certain exporter or a certain XMI format? Can anyone help, please?
Thanks and Regards,
Martin
Very simple example I found in a book and failed to import:
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI">
<xmi:Documentation>
<exporter>XMI DOM Serialize Example</exporter>
<exporterVersion>0.5</exporterVersion>
</xmi:Documentation>
<Car available="false" driver="_3" style="_2" vin="v1"
xmi:id="_1">
<option car="_1" name="air conditioning" xmi:id="_1.1"/>
</Car>
<Style car="_1" make="Jalopy" model="Deluxe" xmi:id="_2"
year="2002"/>
<Person car="_1" licenseNumber="ln1" name="Anita Karr"
xmi:id="_3"/>
</xmi:XMI>