mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
beca86e8c8
From https://bugzilla.gnome.org/show_bug.cgi?id=758518 Happens when a file has a name getting parsed, but no valid encoding set, so libxml has to guess what the encoding is. This patch detects when the buffer location changes, and if it does, restarts the parsing of the name. This slightly change a couple of regression tests output
4 lines
88 B
Plaintext
4 lines
88 B
Plaintext
./test/HTML/758605.html:1: HTML parser error : htmlParseEntityRef: expecting ';'
|
|
ê
|
|
^
|