JAXB 'generateElementProperty' tag not having any effect.
Posted
by Sionide21
on Stack Overflow
See other posts from Stack Overflow
or by Sionide21
Published on 2010-04-23T15:32:23Z
Indexed on
2010/04/23
15:33 UTC
Read the original article
Hit count: 1435
I am trying to remove the JAXBElement
wrapper from a field that was a substitution group in my schema. I have tried both
<jaxb:globalBindings generateElementProperty="false"/>
and
<jaxb:globalBindings>
<xjc:generateElementProperty>false</xjc:generateElementProperty>
</jaxb:globalBindings>
But in both cases it seems to be completely ignored.
Is there a problem trying to use this for substitution groups or am I missing something?
© Stack Overflow or respective owner