diff options
author | Hugh Davenport <hugh@davenport.net.nz> | 2016-05-04 11:23:49 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2016-05-23 15:01:07 +0800 |
commit | beca86e8c86984b967a6efa05a9653470253edda (patch) | |
tree | 3d7387ec911cb08dfb2ff179d1a286a801c76344 /testModule.c | |
parent | b1d34de46a11323fccffa9fadeb33be670d602f5 (diff) | |
download | libxml2-beca86e8c86984b967a6efa05a9653470253edda.tar.gz |
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
Diffstat (limited to 'testModule.c')
0 files changed, 0 insertions, 0 deletions