|
Re: [TEXO] xsd mappings [message #870828 is a reply to message #870730] |
Wed, 09 May 2012 19:38 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Gary,
Hmm, can't be changed/controlled easily (at least not without coding), but maybe I can add a JAXB compliant mode. Are
you aware of other simple type mismatches between EMF and jaxb?
See the last pages of the attached pdf for an overview of the xsd-ecore mappings.
Can you enter a bugzilla for this then we can take it from there.
gr. Martin
On 05/09/2012 03:26 PM, Gary Godfrey wrote:
> Hi,
>
> The XSD is converting to Java, applying changes automatically using the ecore/annotations model really well. Thank you.
>
> I have though just found out the system which will handle part of the processing is expecting JAXB bindings to have been
> applied. e.g.
> xs:integer --> int rather than java.math.BigInteger
>
> Is it possible to annotate the ecore ePackage to override default mappings and instead map xs:integer to int?
>
> Regards,
> Gary
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.03224 seconds