I am new to JAXB2 world.
-I have a xml document whose xsd has imports of other xsds. I have the corresponding domain model and java objects in hand. The names of the classes/attibutes differ from that of those specified in the xsd; Thus did the jaxb 2.0 customization. JAXB is throwing a nullpointer exception when it encounters the import of other xsd in the calling xsd but works well, otherwise.
- Would Jibx be preferable over Jaxb in case of binding between complicated java domain models and xml?
-Also please suggest a good book/articles about complicated java domain model and xml binding.
Any help is highly appreciated.
Thanks in advance.