You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by TomazM <to...@arnes.si> on 2008/10/13 12:56:26 UTC

org.xml.sax.SAXParseException

Is eny body have any idea what is wrong:

org.xml.sax.SAXParseException: Document contains illegal control character with value 8

Re: org.xml.sax.SAXParseException

Posted by TomazM <to...@arnes.si>.
John Wilson wrote:
> 
> On 13 Oct 2008, at 11:56, TomazM wrote:
> 
>> Is eny body have any idea what is wrong:
>>
>> org.xml.sax.SAXParseException: Document contains illegal control
>> character with value 8
> 
> 
> Yes, you have a Backspace (0X08) character in your XML document.
> 
> The XML spec does not allow this character (or any control character
> other than CR, NL and HT) to appear in a well formed document.
> 
> You will need to ensure you do not send control characters.
> 
> John Wilson
Thx, yeah the error was u\010d it should be \u010d.


Best Regards, Tomaz

Re: org.xml.sax.SAXParseException

Posted by John Wilson <tu...@wilson.co.uk>.
On 13 Oct 2008, at 11:56, TomazM wrote:

> Is eny body have any idea what is wrong:
>
> org.xml.sax.SAXParseException: Document contains illegal control  
> character with value 8


Yes, you have a Backspace (0X08) character in your XML document.

The XML spec does not allow this character (or any control character  
other than CR, NL and HT) to appear in a well formed document.

You will need to ensure you do not send control characters.

John Wilson