I agree that this is unexpected. It can be fixed by internally passing more data into the parser before generating the "end" parse event, i.e. by waiting for the tail text to end before yielding the element that owns it.
** Changed in: lxml Importance: Undecided => Medium ** Changed in: lxml Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1684273 Title: Missing tail in iterparse To manage notifications about this bug go to: https://bugs.launchpad.net/lxml/+bug/1684273/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs