file [Solved] XMI/MARTE specific question

6 years 7 months ago - 6 years 7 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"

File Attachment:

File Name: Init.zip
File Size:1 KB


File Attachment:

File Name: WithScheduler.zip
File Size:188 KB


Regards
Saf1
Attachments:

Please Log in or Create an account to join the conversation.

6 years 7 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
The following user(s) said Thank You: saf1

Please Log in or Create an account to join the conversation.

6 years 7 months ago #1483 by saf1
Hi Barbe,

i followed the same form as ebr do in "with scheduler"
look at this on(updated copy)

File Attachment:

File Name: newonewith...uler.zip
File Size:199 KB


the same problem still occurs?

Regards
Saf1
Attachments:

Please Log in or Create an account to join the conversation.

6 years 7 months ago - 6 years 7 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
<?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

Please Log in or Create an account to join the conversation.

Moderators: tmachmebr
Time to create page: 0.037 seconds
^ Back to Top