imagine the following situation: we get an xml file from some external tool. Recently, inside this xml there may be some escaped characters in host names or in the richcontent tag, as in the following (simplefied) example:
<map>
<node TEXT="Project">
<node TEXT="ää">
<richcontent TYPE="NOTE"><html>
<head>
</head>
<body>
<p>
I am a Note for Node ää!
</p>
</body>
</html>
</richcontent>
</node>
</node>
</map>
After untying the file with JAXB, these escaped characters become inaccessible. Unfortunately, I need them to remain as they are, which means flight. Is there a way to avoid unescaping these characters when unmarshalling?
During the research, I found many questions regarding the sorting of xml files, where the opposite problem occurs, but this did not help me either:
JAXB, API- xml?
,
ymene