@XmlJavaTypeAdapter not calling TypeAdapter
问题 I have a fixed XML structure that is already utilised by other applications. Some of these are third party, so changing the XML is not an option. The XML contains a section which I am struggling to unmarshal. Below is a cut down version. This element is a child of other elements. <premium> <allowInstalments>true</allowInstalments> <annualPremium>2964.23</annualPremium> <!-- other various elements --> <calcElement partname="driver"> <driverXs>300.00</driverXs> <seq>1</seq> </calcElement>