Some character in the xml document I'm uploading is giving me the error:
An invalid XML character (Unicode: 0x5) was found in the element content of the document.
Can someone tell me what character is Unicode 0x5 so I can strip it from my file? Thanks
Unicode shares the same code points with ASCII, so anything below 0x80 is the same in both encodings.
0x05 is the ENQ (Enquire) character, and is a non-printing control character.
It is (as you've found out) not an allowed character in XML. I would contact whoever gave you the file and ask them to not send it to you.
Chip H.
____________________________________________________________________ Click here to learn Ways to help with Tsunami Relief If you want to get the best response to a question, please read FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.