[jibx-users] How to unmarshall using JiBX and not use XSD?

2012-06-08 Thread Po Mario
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 =

[jibx-users] Help needed mapping collections

2012-06-12 Thread Po Mario
Hi, I am stuck on a mapping issue that doesn't seem to be clearly documented in JiBX. The problem I find is not being able to map a class attribute which is a collection and the object in the collection is a sub-class. This seems doable and OK until I have to map an XML element to an attribute of