Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » convert ecore to xsd
convert ecore to xsd [message #70970] Sun, 17 December 2006 22:15 Go to next message
Eclipse UserFriend
Originally posted by: elena.tibrea.gmail.com

When converting ecore to xsd, I would like not to have any ecore types in
my output xsd file.
e.g
not <xsd:attribute name="b" type="ecore:EString"/>
but <xsd:attribute name="b" type="xsd:string"/>

Can you give me a clue?

Thank you!
elena
Re: convert ecore to xsd [message #70993 is a reply to message #70970] Mon, 18 December 2006 11:59 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Elena,

If in your model you use data types from the XMLTypePackage, i.e.,
XMLTypePackage.Literals.STRING, rather data types from the EcorePackage,
then you'll get what you want.


elena t wrote:
> When converting ecore to xsd, I would like not to have any ecore types
> in my output xsd file.
> e.g not <xsd:attribute name="b" type="ecore:EString"/>
> but <xsd:attribute name="b" type="xsd:string"/>
>
> Can you give me a clue?
>
> Thank you!
> elena
>
>
Re: convert ecore to xsd [message #599275 is a reply to message #70970] Mon, 18 December 2006 11:59 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26235
Registered: July 2009
Senior Member
Elena,

If in your model you use data types from the XMLTypePackage, i.e.,
XMLTypePackage.Literals.STRING, rather data types from the EcorePackage,
then you'll get what you want.


elena t wrote:
> When converting ecore to xsd, I would like not to have any ecore types
> in my output xsd file.
> e.g not <xsd:attribute name="b" type="ecore:EString"/>
> but <xsd:attribute name="b" type="xsd:string"/>
>
> Can you give me a clue?
>
> Thank you!
> elena
>
>
Previous Topic:convert ecore to xsd
Next Topic:Trouble getting XSD sample running
Goto Forum:
  


Current Time: Fri Nov 28 00:53:11 GMT 2014

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

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