I have an incoming XML with a value which is an encoded form such as <img src=/".../" > , but when unmarshalling this data JAXB is decoding the data to <img src=/"../" > which I do not want it to do.
Is there any configuration to disable this behavior in JAXB?
Define your variable value as CDATA by using annotations or otherwise
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With