DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15494

zero terminated java string serialize zero to XML





------- Additional Comments From [EMAIL PROTECTED]  2003-01-08 17:58 -------
I dont think we should silently strip zeros from outbound strings. There are
other possible causes -bad data source, someone attempting to send binary data
as a string, etc, which need to be notified. silent fixup is too dangerous. 

So if we add a fix, I would prefer the brutal 'throw a runtime exception you are
trying to send illegal data' kind of fix, and let the sender sort out their
data. At least that way you know what is going wrong, and where it is going
wrong, rather than trying to debug stuff with hex dumps the way you must have
had to do.

Reply via email to