I want to use JiBX to unmarshall huge XML files, but I don't want it to
validate against the XSD. How do I do this?
Proof of concept (jUnit snippet that works for XMLs compliant against the
XSD):
IBindingFactory bfact = BindingDirectory.getFactory(Customer.class);
IUnmarshallingContext uctx =
In my opinion XSDs are useless. 99% of the time validation must be
performed in Java anyway, so why bother?
For Java validation, JSR 303 validation works just fine.
By the way JiBX has a bug and/or feature where it ignores unknown
attributes, and there's no way to turn it off. In your case, this