Thank you for trying it out. I agree with you that it's probably a
JAXB-RI bug. I suggest that we open a bug on java.net.
Sent from my iPod
On Dec 17, 2008, at 9:06 PM, "Scott Kurz" <[email protected]> wrote:
Simon,
I was able to recreate this outside of Tuscany using a Java 6 JRE
with a call to JAXBContext.generateSchemas().
(I only borrowed from Tuscany the JAXBTypeHelper$DOMResolver which I
don't think matters... but the exact way the SchemaOutputResolver is
used seems a bit odd).
Anyway my wrapper elements were created with nillable="true", though
the JAXB spec says the default should be false as far as I can tell
(plus that's what we started with in the original XSD).
Apparently wsgen is doing something more than simply relying on this
generateSchemas() method.. I wonder if this is a bug in the JAXB RI?
Scott