JAXB : case insensitive attributes
843834Aug 31 2005 — edited Aug 31 2005I frequently receive an XML file which I do not have control over. ( It is generated outside of my organization)
I derived a XML schema by analyzing the document structure and used the schema to generate a set of JAXB generated classes.
Nevertheless, the file sometimes comes with some minor "mistakes" in the attributes names of some entities by having the wrong uppercase or lowercase. (Vgr. myAttributeName vs myAttributeNAme )
Is there any way to tell JAXB to be case insenstive on the attribute names ?
Unmarshalling the file fails at the attribute with the wrong case.
Thanks.