Hi, in case a Java object to be serialized contains XML invalid characters (e.g. values below 0x20) an exception will be thrown (e.g. com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x13) in text to output). In order to avoid that exception I want to detect XML invalid characters during the serialization of the Java object to the XML SOAP message in order to change those characters into valid ones.
With Axis_1.3 this could be done by extending the class org.apache.axis.components.encoding.AbstractXMLEncoder. Within the overriden methods one could check the string to be serialized for characters below 0x20, so that those characters could be converted, say, in a '?'. I am now looking for a way to do the same with Axis2. If it is important, I am using the ADB databinding, but a general solution would be the best. Thank you for your help. -- View this message in context: http://www.nabble.com/-Axis2--Detect-XML-invalid-characters-tp16895131p16895131.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
