Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Profiles diffs between 2.1 and 2.0
Profiles diffs between 2.1 and 2.0 [message #626443] Mon, 28 April 2008 13:54
Eclipse UserFriend
Originally posted by: flavio.p.duarte.gmail.com

I am using Eclipse UML asa communication language between two tools. The
UML model is using profiles and one tool uses UML2 2.0 while the other
uses UML2 2.1. The execution flow is tool using UML2 2.1 generates the
model that will be processed by the tool using 2.0. I have a sample file
generate with 2.0 which works. The files I generate using 2.1 API don't
work the way they are generated, I have to copy the second line from the
sample file as well as the profile lines, which means the model itself is
being correctly generated. Does anyone have a clue how I can fix this ?

thanks,
Flavio

2nd line UML2 2.0:
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:MagicDrawProfile="http:///schemas/MagicDrawProfile/_dgW50Av2Ed25t6m0yl3sXA/0"
xmlns:PAprofile="http:///schemas/PAprofile/_dfxD8Av2Ed25t6m0yl3sXA/0"
xmlns:REprofile="http:///schemas/REprofile/_dfUYAAv2Ed25t6m0yl3sXA/0"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
xsi:schemaLocation="http:///schemas/MagicDrawProfile/_dgW50Av2Ed25t6m0yl3sXA/0
UML_Standard_Profile.MagicDraw_Profile.profile.uml#_duNvuAv2 Ed25t6m0yl3sXA
http:///schemas/PAprofile/_dfxD8Av2Ed25t6m0yl3sXA/0
UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.PAprofile.profile.uml#_duNxcQv2Ed25t6m 0yl3sXA
http:///schemas/REprofile/_dfUYAAv2Ed25t6m0yl3sXA/0
UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.REprofile.profile.uml#_dteIwgv2Ed25t6m 0yl3sXA ">


2nd line UML2 2.1:
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:MagicDrawProfile="http:///schemas/MagicDrawProfile/_DaJJ4BLQEd2mLOpMQjgnTQ/1"
xmlns:PAprofile="http:///schemas/PAprofile/_Df828BLQEd2mLOpMQjgnTQ/1"
xmlns:REprofile="http:///schemas/REprofile/_DedpMBLQEd2mLOpMQjgnTQ/1"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML"
xsi:schemaLocation="http:///schemas/MagicDrawProfile/_DaJJ4BLQEd2mLOpMQjgnTQ/1
UML_Standard_Profile.MagicDraw_Profile.profile.uml#_DaJJ4RLQ Ed2mLOpMQjgnTQ
http:///schemas/PAprofile/_Df828BLQEd2mLOpMQjgnTQ/1
UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.PAprofile.profile.uml#_Df828RLQEd2mLOp MQjgnTQ
http:///schemas/REprofile/_DedpMBLQEd2mLOpMQjgnTQ/1
UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.REprofile.profile.uml#_DenaMBLQEd2mLOp MQjgnTQ ">



Profile lines UML2 2.0:
<profileApplication
xmi:id="_8f8028c_1072104765343_241365_4238profileApplicationData ">
<eAnnotations xmi:id="_dtxskQv2Ed25t6m0yl3sXA"
source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage"
href=" UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.PAprofile.profile.uml#_duNxcQv2Ed25t6m 0yl3sXA "/>
</eAnnotations>
<appliedProfile
href=" UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.PAprofile.profile.uml#_8f8028c_1072104 765343_241365_4238 "/>
</profileApplication>


Profile lines UML2 2.1:
<profileApplication xmi:id="_Dovm2RLQEd2mLOpMQjgnTQ">
<eAnnotations xmi:id="_Dovm2hLQEd2mLOpMQjgnTQ"
source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage"
href=" UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.PAprofile.profile.uml#_Df828RLQEd2mLOp MQjgnTQ "/>
</eAnnotations>
<appliedProfile
href=" UML_Profile_for_Schedulabilty,_Performance_and_Time_Specific ation.Analysis_Models.PAprofile.profile.uml#_8f8028c_1072104 765343_241365_4238 "/>
</profileApplication>
Previous Topic:how to a put programmatically a dependency element in a package
Next Topic:Profiles diffs between 2.1 and 2.0
Goto Forum:
  


Current Time: Wed Apr 24 16:14:36 GMT 2024

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

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

Back to the top