Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCompatibility of applied profiles
https://www.eclipse.org/forums/index.php/mv/msg/365148/889936/#msg_889936
I have a UML profile in two versions. An old and a new one. They are mostly identical, also the namespaces are identical.
However, due to the changes, the IDs within the XMI are not identical any more.
My problem is now, that I have an eclipse version with the new UML profile as plug-in. Old models however refer to the old UML profile. I thought this is no problem as the namespace is identical. However, now I have seen that when applying a UML profile also IDs are used to reference the profile and their elements. Here is an excerpt of the head of one of my UML models:
The idea behind the "Semantics.profile.uml" is identical to the one within the profile. However, the new profile has another ID but it is mostly identical. The old references should be kept.
So, when changing a UML profile the IDs are regenerated and all my models are not usable any longer? Do I have to apply all stereotypes etc. again?
Or is there a good way to convert my model with the old profile applied into a model with the new profile applied?
Regards,
Tex
]]>Tex Iano2012-06-20T10:00:59-00:00Re: Compatibility of applied profiles
https://www.eclipse.org/forums/index.php/mv/msg/365148/889947/#msg_889947
Similar xmi:id instability has been reported before as a nuisance.
This seems like a bug. Please raise a Bugzilla.
Regards
Ed Willink
On 20/06/2012 11:01, Tex Iano wrote:
> Hi,
>
> I have a UML profile in two versions. An old and a new one. They are
> mostly identical, also the namespaces are identical.
> However, due to the changes, the IDs within the XMI are not identical
> any more.
>
> My problem is now, that I have an eclipse version with the new UML
> profile as plug-in. Old models however refer to the old UML profile. I
> thought this is no problem as the namespace is identical. However, now
> I have seen that when applying a UML profile also IDs are used to
> reference the profile and their elements. Here is an excerpt of the
> head of one of my UML models:
>
>
> xmlns:Semantics="http://www.myProfile.com/semantics/1.0/Semantics"
> xsi:schemaLocation="http://www.myProfile.com/semantics/1.0/Semantics
> pathmap://UML_PROFILES/Semantics.profile.uml#_Oo3pILCVEeGpLMb64seDbg
>
> The idea behind the "Semantics.profile.uml" is identical to the one
> within the profile. However, the new profile has another ID but it is
> mostly identical. The old references should be kept.
>
> So, when changing a UML profile the IDs are regenerated and all my
> models are not usable any longer? Do I have to apply all stereotypes
> etc. again?
>
> Or is there a good way to convert my model with the old profile
> applied into a model with the new profile applied?
>
> Regards,
>
> Tex
>]]>Ed Willink2012-06-20T10:58:07-00:00Re: Compatibility of applied profiles
https://www.eclipse.org/forums/index.php/mv/msg/365148/889956/#msg_889956
ok thanks. I will first try to find out the problem.
Regards,
Tex]]>Tex Iano2012-06-20T11:55:28-00:00Re: Compatibility of applied profiles
https://www.eclipse.org/forums/index.php/mv/msg/365148/889981/#msg_889981
Therefore you can use all of your models - old and new ones...
Regards
Peter
Am 20.06.2012 12:01, schrieb Tex Iano:
> Hi,
>
> I have a UML profile in two versions. An old and a new one. They are
> mostly identical, also the namespaces are identical.
> However, due to the changes, the IDs within the XMI are not identical
> any more.
>
> My problem is now, that I have an eclipse version with the new UML
> profile as plug-in. Old models however refer to the old UML profile. I
> thought this is no problem as the namespace is identical. However, now I
> have seen that when applying a UML profile also IDs are used to
> reference the profile and their elements. Here is an excerpt of the head
> of one of my UML models:
>
>
> xmlns:Semantics="http://www.myProfile.com/semantics/1.0/Semantics"
> xsi:schemaLocation="http://www.myProfile.com/semantics/1.0/Semantics
> pathmap://UML_PROFILES/Semantics.profile.uml#_Oo3pILCVEeGpLMb64seDbg
>
> The idea behind the "Semantics.profile.uml" is identical to the one
> within the profile. However, the new profile has another ID but it is
> mostly identical. The old references should be kept.
>
> So, when changing a UML profile the IDs are regenerated and all my
> models are not usable any longer? Do I have to apply all stereotypes
> etc. again?
>
> Or is there a good way to convert my model with the old profile applied
> into a model with the new profile applied?
>
> Regards,
>
> Tex
>]]>Peter Mising name2012-06-20T13:17:22-00:00