jaxb - XJC xsd:any parsing -
i have element in xsd schema:
<xsd:any processcontents="skip"/>
is possible switch processcontents
strict
through xjb binding? without modifying schema file. may set global property. want get:
@xmlanyelement(lax = true) protected object any;
instead of:
@xmlanyelement protected element any;
you totally change annotation , attribut's type. beware if generate code xsd modifications crushed.
could explain little bit more work context, needs , goals. why can't touch xsd, generate classes xsd jaxb? use xsd validation purposes?
Comments
Post a Comment