eclipse-uml2 / uml2

An EMF-based implementation of the UML 2.x metamodel for the Eclipse platform.
Eclipse Public License 2.0
5 stars 4 forks source link

Save to *.xmi fails to convert Ecore Profiles to Tags #103

Open eclipse-uml2-bot opened 1 week ago

eclipse-uml2-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 562995 | | Status | NEW | | Importance | P3 normal | | Reported | May 09, 2020 03:20 EDT | | Modified | May 09, 2020 03:25 EDT | | See also | 551915 | | Reporter | Ed Willink |

Description

When loading /org.eclipse.ocl.examples.uml25/model/DI.xmi (the UML 2.5 underpinning for UMLDI) it contains

\ ....\ \ \ The known org.omg.xmi.nsPrefix mofext:Tag is converted to an Ecore Profile in the loaded UML. Ok When saved again (using a ResourceEntityHandler to compress idrefs) we get \ \ \ \ \ ]>\ \ ...\ \ \ \ \ \ \ \ \ \ \ The save correctly uses xmlns:uml="http://www.omg.org/spec/UML/20131001" but fails to reverse the Ecore Profile back into a org.omg.xmi.nsPrefix Tag and fails to remove the unwanted profile application. The OMG namespaces are therefore polluted by Eclipse UML namespaces.