UML2 Import XMI 2.1 file
I am getting:
“The resource selected for import is invalid. Please select a valid XMI 2.1 file.”
I have tried both with a file generated by an external tool and a file generated within MyEclipse.
Example file created in MyEclipse:
<?xml version=”1.0″ encoding=”UTF-8″?>
<uml:Model xmi:version=”2.1″ xmlns:xmi=”http://schema.omg.org/spec/XMI/2.1″ xmlns:uml=”http://www.eclipse.org/uml2/3.0.0/UML” xmi:id=”_qb8akM37EdqwVrslYOdUDA” name=”test1″>
<packagedElement xmi:type=”uml:Class” xmi:id=”_dXVNwFhkEd-WDZk3pa04GA” name=”MarcClass”/>
</uml:Model>
Is there a special project type that I need to import into?
*** Date:
Wednesday, May 5, 2010 11:59:54 AM CDT
** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 8.5\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 8.5\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse 8.5\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/Genuitec/MyEclipse 8.5
-configuration
configuration
-clean
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll