Hi
I am trying to parse an XML response received from WebEx XML API using SAX parser for Java
However, I am encountering the following error for a client while sending the GetSite command.
An invalid XML character (Unicode: 0x8) was found in the element content of the document.
The character seem to be inside a <serv:intlLocalNum> tag.
Is there I can avoid this. The error is in the response received from XML. Is this something I should suggest my client to correct.
Thanks
Anshul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Anshul,
There are a few characters that are dissallowed in XML documents.
If you generated the document you will need to strip it out.
If you have an errorneous document, you should strip away these characters before trying to parse it.
Reference - http://stackoverflow.com/questions/5742543/an-invalid-xml-character-unicode-0xc-was-found
Request you to refer - https://communities.cisco.com/docs/DOC-48081
Thanks and Regards,
Geevarghese
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.