File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
INvalid XML character error
Joined: Nov 28, 2012
May 30, 2013 01:57:14
i am creating
using xml,getting error The character is an invalid XML character.its showing a "right arrow" as special character in log error.
anybody know which combination of special character is making arrow or how to skip this.
Author and all-around good cowpoke
Joined: Mar 22, 2000
May 30, 2013 07:49:45
When I see that error I immediately wonder if the XML document was edited at some point with MS Word and you are hitting "smart punctuation" characters.
A programmer's editor that can display in HEX is a great tool for debugging this sort of thing. The displayed "right arrow" may have little to do with the actual character.
I agree. Here's the link:
subject: INvalid XML character error
Identifying Special Characters in given String.
error in Bypassing the Special Characters in JBoss (in xsd)
XSD type: CDATA
ERROR in Bypassing the Special Characters in JBOSS(in xsd)
Problem in handling special characters using FOP generating pdf
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014