commit | beca86e8c86984b967a6efa05a9653470253edda | [log] [tgz] |
---|---|---|
author | Hugh Davenport <hugh@davenport.net.nz> | Wed May 04 11:23:49 2016 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Mon May 23 15:01:07 2016 +0800 |
tree | 3d7387ec911cb08dfb2ff179d1a286a801c76344 | |
parent | b1d34de46a11323fccffa9fadeb33be670d602f5 [diff] |
Detect change of encoding when parsing HTML names 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