In my software im receiving a xml file that is containing some HTML entities like & amp; or whatever. Im successfull decoding the xml but not the HTML entities. The stri
I have two approaches to suggest:
Deactivate validation: factory.setValidating(false);
factory.setValidating(false);
Add a XHTML DTD tag to your XML stream, immediately after the tag.