Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Compatibility of applied profiles
Compatibility of applied profiles [message #889936] Wed, 20 June 2012 10:00 Go to next message
Tex Iano is currently offline Tex IanoFriend
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 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
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 #889956 is a reply to message #889947] Wed, 20 June 2012 11:55 Go to previous messageGo to next message
Tex Iano is currently offline Tex IanoFriend
Messages: 99
Registered: February 2012
Member
Hey Ed,

ok thanks. I will first try to find out the problem.

Regards,

Tex
Re: Compatibility of applied profiles [message #889981 is a reply to message #889936] Wed, 20 June 2012 13:17 Go to previous message
Peter Mising name is currently offline Peter Mising nameFriend
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
>
Previous Topic:How does "isProfileApplied" work?
Next Topic:error using UML as input
Goto Forum:
  


Current Time: Fri Mar 29 10:28:28 GMT 2024

Powered by FUDForum. Page generated in 0.03131 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top