mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-28 14:48:43 +08:00
1e23402eb2
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.