This document explains various interesting/complex/tricky aspects of JAXB, based on questions posted on the JAXB users forum and answers I provided. This is an ongoing work-in-progress. Any feedback appreciated.
This section describes the various ways of marshalling JaxMe objects and how to configure the marshalling process. Note, that this section uses both methods and features, which are specified by JAXB and others, which are proprietary to JaxMe
I'm running into a problem where a string that contains valid UTF-8
characters that are illegal in XML (e.g. 0x10), gets serialized by
jaxb without escaping/encoding these bytes, effectively producing
illegal XML.