*
The moose likes XML and Related Technologies and the fly likes INvalid XML character error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "INvalid XML character error" Watch "INvalid XML character error" New topic
Author

INvalid XML character error

patni pat
Greenhorn

Joined: Nov 28, 2012
Posts: 5
Hi,

i am creating pdf 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.


thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
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.

Bill
 
Don't get me started about those stupid light bulbs.
 
subject: INvalid XML character error
 
Similar Threads
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