Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Papyrus UML to XSD(How can I covert a Class Diagram to XSD)
Papyrus UML to XSD [message #1012337] Thu, 21 February 2013 11:28 Go to next message
roshni rajagopal is currently offline roshni rajagopalFriend
Messages: 9
Registered: February 2013
Junior Member
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
Re: Papyrus UML to XSD [message #1012351 is a reply to message #1012337] Thu, 21 February 2013 11:55 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

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
Re: Papyrus UML to XSD [message #1012491 is a reply to message #1012351] Thu, 21 February 2013 16:51 Go to previous messageGo to next message
roshni rajagopal is currently offline roshni rajagopalFriend
Messages: 9
Registered: February 2013
Junior Member
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
Re: Papyrus UML to XSD [message #1012512 is a reply to message #1012491] Thu, 21 February 2013 17:29 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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.
Previous Topic:Kepler build and dependencies
Next Topic:Papyrus/EMF to Er Diagram/DDL
Goto Forum:
  


Current Time: Fri Apr 19 10:37:32 GMT 2024

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

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

Back to the top