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

Popular posts from this blog

c - sscanf() double showing zeros -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -