Thanks for the report. I get this output for libxml2 2.9.8:
11080 tags when fed bytes
557 tags when fed unicode
and this for libxml2 2.9.7 (and 2.9.3):
11080 tags when fed bytes
11080 tags when fed unicode
This suggests that there is a ... difference in behaviour ... in libxml2 2.9.8.
I don't currently have the time to check if it's a known bug or if there is a workaround.
Thanks for the report. I get this output for libxml2 2.9.8:
11080 tags when fed bytes
557 tags when fed unicode
and this for libxml2 2.9.7 (and 2.9.3):
11080 tags when fed bytes
11080 tags when fed unicode
This suggests that there is a ... difference in behaviour ... in libxml2 2.9.8.
I don't currently have the time to check if it's a known bug or if there is a workaround.