----- Original Message ----- From: "Tom Jordahl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 20, 2002 2:07 PM Subject: Schema types
> > There is a bug outstanding (9966) that we do not support any of the unsigned XML Schema types. well, that gives Axis consistency with Castor > > What do you think is the lesser of two evils: > > 1. Add the types as their signed Java counter parts. i.e. xsd:unsignedShort would map to short, positiveInteger would map to int, etc. this is dangerous, as it could cause subtle interop confusion. Everything looks like it works, and then one day you send in a number too big and bad things happen. > > 2. Just leave them unsupported > > Supporting them fully would enter a more complex area: We would have to emit a Bean for these types and enforce the value restrictions in the setter functions. This seems like a great deal of work for just a small amount of benefit. Long term it may become an issue, especially for clients talking to .NET services.