Unmarshalling a XML using JAXB
I have a BaseXSD and a sub XSD which inherits properties from the base Scheme
input XML got validated with the Child XSD.
I am able to generate the classes for the Child XSD.
But when i try to Unmarshall the xml file it throws
Exception in thread "main" java.lang.ClassCastException: javax.xml.bind.JAXBElement cannot be cast to com.infa.all.DatamapGeneration
Can some one Please help me.