convert ecore to xsd [message #70970] |
Sun, 17 December 2006 22:15  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03125 seconds