I am able to create a class diagram in Papyrus and export it to the XMI format, which gets interpreted by other data modeling tools. However some folks in my team wanted an XSD version for the schema. In rational software architect theres a UML to XSD transformation, and its pretty easy to do this.
Do advise how I can convert the papyrus diagram to XSD? What additional tools may I need to install? I'd not prefer to convert to ecore - does this cause additional "ecore" type tags in the XMI? Id like to keep it an original OMG UML diagram if possible - but do let me know all solutions.
If you have a 'sensible' model the conversion to Ecore and then to XSD
should be sensible too. There are a lot of configuration options for
Ecore to XSD so you can probably customize it without an extra clean-up
transformation.
Regards
Ed Willink
On 21/02/2013 11:28, roshni rajagopal wrote:
> Hi,
>
> I am able to create a class diagram in Papyrus and export it to the
> XMI format, which gets interpreted by other data modeling tools.
> However some folks in my team wanted an XSD version for the schema. In
> rational software architect theres a UML to XSD transformation, and
> its pretty easy to do this.
> Do advise how I can convert the papyrus diagram to XSD? What
> additional tools may I need to install? I'd not prefer to convert to
> ecore - does this cause additional "ecore" type tags in the XMI? Id
> like to keep it an original OMG UML diagram if possible - but do let
> me know all solutions.
>
> Regards.
> Roshni
Thank you Ed, The XMI exported from Papyrus already has references to "ecore" in it- so that was a silly question.
Sorry for being lazy, I can import the Papyrus UML into an EMF project, and open it. Now how can I export to XSD? I see only a .genmodel and a .ecore file
On 21/02/2013 16:51, roshni rajagopal wrote:
> Thank you Ed, The XMI exported from Papyrus already has references to
> "ecore" in it- so that was a silly question.
>
> Sorry for being lazy, I can import the Papyrus UML into an EMF
> project, and open it. Now how can I export to XSD? I see only a
> .genmodel and a .ecore file
The genmodel has a generate schema option.