Home » Modeling » Papyrus » Can Papyrus convert uml file to xmi file?
| | |
Re: Can Papyrus convert uml file to xmi file? [message #1705550 is a reply to message #1705231] |
Mon, 17 August 2015 13:07 |
|
Hi Lin,
The "di" file is just a placeholder for the other two, mainly a UI construct to "hide" the multiple underlying files.
The "uml" file contains the actual UML model, as per the OMG UML specification for serializing a model. This file only contains the model itself and no notational elements, i.e., no diagram information.
The "notation" file contains all the notational elements of the model (i.e., the diagrams).
All three files are XML files, so you can open them in a text editor and look at their content - but please let the tool modify what they contain lest you get incorrect files.
/Charles Rivet
|
|
|
Re: Can Papyrus convert uml file to xmi file? [message #1705563 is a reply to message #1705550] |
Mon, 17 August 2015 14:05 |
|
Hi,
To be precise, the *.uml serialization format is an XMI format, but it
is not the XMI prescribed by OMG for UML models. It is an
Eclipse-specific XMI serialization, as indicated by the declaration of
EMF and Eclipse namespaces instead of the OMG's UML and XMI namespaces.
The UML2 project provides at least the means to convert OMG-compliant
UML XMI resources to Eclipse UML. I would expect that it provides the
reverse (exporting Eclipse UML to OMG UML-XMI) but I don't know the
details of that. Best to ask about it on the eclipse.modeling.mdt.uml2
newsgroup.
Cheers,
Christian
On 2015-08-17 13:07:17 +0000, Charles Rivet said:
> Hi Lin,
>
> The "di" file is just a placeholder for the other two, mainly a UI
> construct to "hide" the multiple underlying files.
>
> The "uml" file contains the actual UML model, as per the OMG UML
> specification for serializing a model. This file only contains the
> model itself and no notational elements, i.e., no diagram information.
>
> The "notation" file contains all the notational elements of the model
> (i.e., the diagrams).
>
> All three files are XML files, so you can open them in a text editor
> and look at their content - but please let the tool modify what they
> contain lest you get incorrect files.
|
|
|
Re: Can Papyrus convert uml file to xmi file? [message #1705589 is a reply to message #1705563] |
Mon, 17 August 2015 16:23 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
Just File->SaveAs *.xmi in the UML Model Editor. (Or equivalent *.xmi
URI programmatically.)
Regards
Ed Willink
On 17/08/2015 15:05, Christian W. Damus wrote:
> Hi,
>
> To be precise, the *.uml serialization format is an XMI format, but it
> is not the XMI prescribed by OMG for UML models. It is an
> Eclipse-specific XMI serialization, as indicated by the declaration of
> EMF and Eclipse namespaces instead of the OMG's UML and XMI namespaces.
>
> The UML2 project provides at least the means to convert OMG-compliant
> UML XMI resources to Eclipse UML. I would expect that it provides the
> reverse (exporting Eclipse UML to OMG UML-XMI) but I don't know the
> details of that. Best to ask about it on the
> eclipse.modeling.mdt.uml2 newsgroup.
>
> Cheers,
>
> Christian
>
>
> On 2015-08-17 13:07:17 +0000, Charles Rivet said:
>
>> Hi Lin,
>>
>> The "di" file is just a placeholder for the other two, mainly a UI
>> construct to "hide" the multiple underlying files.
>>
>> The "uml" file contains the actual UML model, as per the OMG UML
>> specification for serializing a model. This file only contains the
>> model itself and no notational elements, i.e., no diagram information.
>>
>> The "notation" file contains all the notational elements of the model
>> (i.e., the diagrams).
>>
>> All three files are XML files, so you can open them in a text editor
>> and look at their content - but please let the tool modify what they
>> contain lest you get incorrect files.
>
>
|
|
|
Re: Can Papyrus convert uml file to xmi file? [message #1705603 is a reply to message #1705589] |
Mon, 17 August 2015 17:37 |
|
Now, where's my big red "That Was Easy" button?
:-)
Thanks, Ed
On 2015-08-17 16:23:52 +0000, Ed Willink said:
> Hi
>
> Just File->SaveAs *.xmi in the UML Model Editor. (Or equivalent *.xmi
> URI programmatically.)
>
> Regards
>
> Ed Willink
>
> On 17/08/2015 15:05, Christian W. Damus wrote:
>> Hi,
>>
>> To be precise, the *.uml serialization format is an XMI format, but it
>> is not the XMI prescribed by OMG for UML models. It is an
>> Eclipse-specific XMI serialization, as indicated by the declaration of
>> EMF and Eclipse namespaces instead of the OMG's UML and XMI namespaces.
>>
>> The UML2 project provides at least the means to convert OMG-compliant
>> UML XMI resources to Eclipse UML. I would expect that it provides the
>> reverse (exporting Eclipse UML to OMG UML-XMI) but I don't know the
>> details of that. Best to ask about it on the eclipse.modeling.mdt.uml2
>> newsgroup.
>>
>> Cheers,
>>
>> Christian
>>
>>
>> On 2015-08-17 13:07:17 +0000, Charles Rivet said:
>>
>>> Hi Lin,
>>>
>>> The "di" file is just a placeholder for the other two, mainly a UI
>>> construct to "hide" the multiple underlying files.
>>>
>>> The "uml" file contains the actual UML model, as per the OMG UML
>>> specification for serializing a model. This file only contains the
>>> model itself and no notational elements, i.e., no diagram information.
>>>
>>> The "notation" file contains all the notational elements of the model
>>> (i.e., the diagrams).
>>>
>>> All three files are XML files, so you can open them in a text editor
>>> and look at their content - but please let the tool modify what they
>>> contain lest you get incorrect files.
|
|
|
Goto Forum:
Current Time: Fri Apr 19 08:17:53 GMT 2024
Powered by FUDForum. Page generated in 0.02070 seconds
|