I'm using JiBX to unmarshall XML based on a XSD provided by external source; unfortunately, some of the 'required' fields are not always present in the XML, which is causing JiBX to throw 'org.jibx.runtime.JiBXException: Missing required element'.
I know I can edit the XSD files and change the 'required' fields to optional, but since these files are updated periodically I would rather not do this. Is there a setting in JiBX I can change (either at compile/binding time or at runtime) to ignore missing elements at runtime, e.g., by setting the value of a field corresponding to a missing element to null?
EDIT: Change i.e. -> e.g. :)