Between 2.9.7 and 2.9.8: https://gitlab.gnome.org/GNOME/libxml2/commit/6e6ae5daa6cd9640c9a83c1070896273e9b30d14 """ commit 6e6ae5daa6cd9640c9a83c1070896273e9b30d14 Author: Joel Hockey <joel.hockey@gmail.com> AuthorDate: Tue Jan 2 21:47:35 2018 -0800 Commit: Nick Wellnhofer <wellnhofer@aevum.de> CommitDate: Mon Jan 8 19:57:53 2018 +0100 Change calls to xmlCharEncInput to set flush false when not final call. Having flush incorrectly set to true causes errors for ICU. """ After 2.9.8: https://gitlab.gnome.org/GNOME/libxml2/commit/7a1bd7f6497ac33a9023d556f6f47a48f01deac0 """ commit 7a1bd7f6497ac33a9023d556f6f47a48f01deac0 Author: Nick Wellnhofer <wellnhofer@aevum.de> AuthorDate: Sat Mar 17 00:03:24 2018 +0100 Commit: Nick Wellnhofer <wellnhofer@aevum.de> CommitDate: Sat Mar 17 00:03:24 2018 +0100 Revert "Change calls to xmlCharEncInput to set flush false" This reverts commit 6e6ae5daa6cd9640c9a83c1070896273e9b30d14 which broke decoding of larger documents with ICU. See https://bugs.chromium.org/p/chromium/issues/detail?id=820163 """ I was able to reproduce problem mentioned in https://bugs.chromium.org/p/chromium/issues/detail?id=820163.
Created attachment 533622 [details, diff] Patch for dev-libs/libxml2::gentoo This patch applies after patch for bug 653078.
Created attachment 533624 [details, diff] Patch for dev-libs/libxml2::gentoo This patch applies after patch for bug 653078.
Created attachment 536640 [details, diff] Patch for dev-libs/libxml2::gentoo
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1791bae0e350d9afb39f4000c8f4172e1aaf6e8c commit 1791bae0e350d9afb39f4000c8f4172e1aaf6e8c Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-17 16:46:08 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-17 16:46:08 +0000 dev-libs/libxml2: bump to 2.9.9 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>