- Posts: 4
- Thank you received: 0
×
Modelio 4.0.0 released (07 Nov 2019)
Modelio 4.0.0 has been released ( www.modelio.org/forum/4-announcements/45...-4-0-0-released.html )
[Solved] XMI/MARTE specific question
9 years 6 months ago - 9 years 6 months ago #1478 by saf1
Hello osl,ebr,
thank you very much for kind help
what i tried to do as the following:
The first file, named "Init", represents a model with interaction and lifeline without any MARTE profile application.
The second one, named "With Scheduler", represents a manually updated version of Init. In this latter, I made all needed changes for including a Lifeline stereotyped as Scheduler i.e.
1)I changed the structure of the file in order to have a starting xmi tag
2)I added MARTE profile applications
3)I stereotyped the created Lifeline by adding
"<GRM:Scheduler xmi:id="_FCDz8GOfEeKrv8bpbvL3Aw"
base_Lifeline="_A1xq-mS2EeKAqeXVRjxaYA"/>"
4)finally i created new project and then import "With Scheduler.xmi" to check the results.
a message box occurs:
Failed:file content is not recognized as a valid model.
Does i missed any step?
PS:i attached a complete file and also attached "With Scheduler.xmi.log"
Regards
Saf1
thank you very much for kind help
what i tried to do as the following:
The first file, named "Init", represents a model with interaction and lifeline without any MARTE profile application.
The second one, named "With Scheduler", represents a manually updated version of Init. In this latter, I made all needed changes for including a Lifeline stereotyped as Scheduler i.e.
1)I changed the structure of the file in order to have a starting xmi tag
2)I added MARTE profile applications
3)I stereotyped the created Lifeline by adding
"<GRM:Scheduler xmi:id="_FCDz8GOfEeKrv8bpbvL3Aw"
base_Lifeline="_A1xq-mS2EeKAqeXVRjxaYA"/>"
4)finally i created new project and then import "With Scheduler.xmi" to check the results.
a message box occurs:
Failed:file content is not recognized as a valid model.
Does i missed any step?
PS:i attached a complete file and also attached "With Scheduler.xmi.log"
Regards
Saf1
Last Edit: 9 years 6 months ago by saf1.
Please Log in or Create an account to join the conversation.
- barbe.rousse
-
- Offline
- Senior Boarder
-
Less More
- Posts: 70
- Thank you received: 18
9 years 6 months ago #1479 by barbe.rousse
Hi saf1,
I did not look at all the details but your WithScheduler.xmi file seems at least not well formed i.e the two first tags are uml and then xmi, it should be an xmi and then uml one.
Hoping it helps,
BR
I did not look at all the details but your WithScheduler.xmi file seems at least not well formed i.e the two first tags are uml and then xmi, it should be an xmi and then uml one.
Hoping it helps,
BR
The following user(s) said Thank You: saf1
Please Log in or Create an account to join the conversation.
9 years 6 months ago #1483 by saf1
Hi Barbe,
i followed the same form as ebr do in "with scheduler"
look at this on(updated copy)
the same problem still occurs?
Regards
Saf1
i followed the same form as ebr do in "with scheduler"
look at this on(updated copy)
the same problem still occurs?
Regards
Saf1
Please Log in or Create an account to join the conversation.
- barbe.rousse
-
- Offline
- Senior Boarder
-
Less More
- Posts: 70
- Thank you received: 18
9 years 6 months ago - 9 years 6 months ago #1484 by barbe.rousse
Hi saf1,
In fact the one's provided by ebr and yours seem different...
ebr xmi file has the following structure
and yours
Am I right?
Once again it is only a first issue I did not look through the whole file.
Regards,
BR
In fact the one's provided by ebr and yours seem different...
ebr xmi file has the following structure
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" etc.>
<uml:Model xmi:id="_Hxz-wGOfEeKrv8bpbvL3Aw" name="Init">
Model
</uml>
Stereotypes
</xmi>
and yours
<?xml version="1.0" encoding="UTF-8"?>
<uml:Model xmi:id="_Hxz-wGOfEeKrv8bpbvL3Aw" etc.>
<xmi:XMI xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" etc.>
Model
</uml>
Stereotypes
</xmi>
Am I right?
Once again it is only a first issue I did not look through the whole file.
Regards,
BR
Last Edit: 9 years 6 months ago by ebr.
Please Log in or Create an account to join the conversation.
Time to create page: 0.042 seconds