HiroakiKawai <ka...@apache.org> added the comment: The sample code has bug. expat is OK.
Method char_data must append the incoming characters because the character sequence is an buffered input. def char_data(self, data): self.data += data You should reset it by self.data = '' at end_element(). ---------- nosy: +kawai _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5036> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com