Batch - JAXB2, JIBX and XMLBeans not working
I'm working on the Spring 3.1.0 release environment and using JDK1.6.
I've a set of schema and I created the classes with the three tools (JAXB2, JiBX and XMLBeans). The compiled classes work when I tested them on standalone programs. Unfortunately they are not working when I incorporated them into my String Batch (ver 2.1.9) job. Only XStream works for my environment.
My job is to unmarshall the XML and marshall the object to another XML.
The symptom is the same - the job finished without error but the read count was zero.
To be more exact, XMLBeans sort of work if I do not introduce a processor. Otherwise a ClassCast exception (cannot cast from XmlAnyTypeImpl ) will be thrown.
Any hint is well appreciated.