Community
Participate
Working Groups
i try to load an UML model from the EMF Registy using the load Metamodel resource in a facet set. i choose the registered package uri "http://www.eclipse.org/uml2/2.1.0/UML" and the model loaded has this registered package uri is http://www.eclipse.org/uml2/3.0.0/UML i don't understand why.
Hello Tony, that is uml2 eclipse components declaration which induces this behavior. Here is an extract of "org.eclipse.uml2.uml plugin.xml" : <extension point="org.eclipse.emf.ecore.generated_package"> <package uri = "http://www.eclipse.org/uml2/2.0.0/UML" class = "org.eclipse.uml2.uml.UMLPackage" /> </extension> <extension point="org.eclipse.emf.ecore.generated_package"> <package uri = "http://www.eclipse.org/uml2/2.1.0/UML" class = "org.eclipse.uml2.uml.UMLPackage" /> </extension> <extension point="org.eclipse.emf.ecore.generated_package"> <package uri = "http://www.eclipse.org/uml2/3.0.0/UML" class = "org.eclipse.uml2.uml.UMLPackage" genModel = "model/UML.genmodel" /> </extension> The three uris are declared implemented by the same EPackage class (wich has "http://www.eclipse.org/uml2/3.0.0/UML" uri). The declaration for two old uris respond to compatibility requirements.
Not a MoDisco bug.