Walter Dörwald <wal...@livinglogic.de> added the comment: Just a guess, but the buffer size might be so small that the text that you expect gets passed via **two** calls to _char_data(). You should refactor your code the simply collect all the text in _char_data() and act on it in the _end_element() handler.
So this probably isn't a bug in xml.parsers.expat. ---------- nosy: +doerwalter _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42930> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com