• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UTF-8 SAX exception- HELP!

 
Vladimir Ergovic
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using soap messaging (apache 2.2 and Tomcat4 )in application for transmiting data to another database.
The problem is in charachters which are not English (Croatian). I already try with and without CDATA sections but it doesn't help.
I get following Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>parsing error: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1a) was found in the CDATA section.</faultstring>
...
...
Deadline is tomorow so please help!
Vlad
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
0x1A is NOT a valid unicode character in ANY character set. That is a <ctrl>Z - the eof control code in ascii. You better look at the XML text with a hex editor to find out where the 0x1A is coming from.
Bill
 
Vladimir Ergovic
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, it was a problem in db2 it wasn't configured as it should be !
 
Dale Lepine
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vladimir Ergovich:
Thanks, it was a problem in db2 it wasn't configured as it should be !

What was the problem with the DB2 configuration?
 
satbir singh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vladimir Ergovich:
Thanks, it was a problem in db2 it wasn't configured as it should be !


I am also getting the similar problem. Could you please tell what configurations needs to be done in DB2?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic