aspose file tools*
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
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: 12836
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: INvalid XML character error