We have a JAVA application that retrieves data from SAP, analyzes it and displays it to users. Data is retrieved using the JCO connector.
Recently, we have been excluded:
org.xml.sax.SAXParseException: Character reference "�" is an invalid XML character.
So, we plan to write a new level of indirection, where all special / illegal characters are replaced before parsing XML.
My questions are here:
- Is there any existing (open source) utility that does the job of replacing illegal characters in XML?
- Or, if I needed to write such a utility, how should I handle it?
- Why is the above exception selected?
Thank.
source
share