Re: Issue with Jdom parsing control character

Laurent Bihanic <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
Hi,

Abhishek Parwal wrote:
> When i try to parse the control chars the following exception occurs:
> 
> org.jdom.input.JDOMParseException: Error on line 1: Character reference
> "" is an invalid XML character. at
...
> Caused by: org.xml.sax.SAXParseException: Character reference "" is an invalid 
XML character.
> 
> Please guide how to reasolve this problem.

The error is reported by the underlying XML parser (Xerces). There is an 
invalid character (NUL?) in the received XML document.
The list of allowed characters in XML is defined here : 
http://www.w3.org/TR/REC-xml/#charsets

Laurent
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.