axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hembrow <chris.hemb...@pixelseventy2.net>
Subject not a valid XML character
Date Mon, 16 Jan 2006 23:46:04 GMT
Hi

I have a web service which reads messages from an external source. I
am getting the following error message:
java.lang.IllegalArgumentException: The char '0x1' after 'Dear
customer, your balance is now ' is not a valid XML character.

This is fair enough, it isn't valid, but I can't find anyway to encode
it. And shouldn't the serializer encode this itself? How can I handle
this error, without having to trawl through the messages and remove
invalid characters myself.

Thanks

Mime
View raw message