diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-11-13 16:59:14 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-11-13 16:59:14 -0800 |
commit | 1e23402eb23adf4ecd6c1c6bc83ecf21c8e0a6cd (patch) | |
tree | 847f7cb9ad1db1e5ce21b344e05d0abc10d64f29 /tests/test_unicode.cpp | |
parent | 5ca7e7cffc53b2378d3d9eb5168458935ca21627 (diff) |
Change status_end_element_mismatch to point to closing tag name
Previously the error offset pointed to the first mismatching character, which
can be confusing especially if the start tag name is a prefix of the end tag
name. Instead, move the offset to the first character of the name - that way
it should be more obvious that the problem is that the entire name mismatches.
Fixes #112.
Diffstat (limited to 'tests/test_unicode.cpp')
0 files changed, 0 insertions, 0 deletions