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-03 21:13 ------- It seems mostly likely that zeros will be introduced in precisly the same situation as they were in my code, ie as zero terminators. In a much more rare situation I would expect them to be embedded in a string in the middle. In the case of the trailing zero, they're a left-over from C days. In the case of the embedded zero, they contain no info. So it seems that regardless of the location removing those characters would be enough. In my case, since I was not concerned about trailing spaces ( though other may be ), I was able to use String.trim() to do this for me.