Compatibility of applied profiles [message #889936] |
Wed, 20 June 2012 10:00 |
Tex Iano Messages: 99 Registered: February 2012 |
Member |
|
|
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
|
|
|
Re: Compatibility of applied profiles [message #889947 is a reply to message #889936] |
Wed, 20 June 2012 10:58 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
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
>
|
|
|
|
Re: Compatibility of applied profiles [message #889981 is a reply to message #889936] |
Wed, 20 June 2012 13:17 |
Peter Mising name Messages: 95 Registered: July 2009 |
Member |
|
|
All your profile versions are stored under the "UML" EAnnotation.
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03131 seconds