mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
79c8a6b105
Before, truncated UTF-8 sequences at the end of a file were treated as EOF. Create an error message containing the offending bytes. xmlStringCurrentChar would also print characters from the input stream, not the string it's working on.
6 lines
187 B
Plaintext
6 lines
187 B
Plaintext
./test/errors/partial_utf8_3.xml:1: parser error : Input is not proper UTF-8, indicate encoding !
|
|
Bytes: 0xF2 0xA0 0xA0 EOF
|
|
<a>ò
|
|
^
|
|
./test/errors/partial_utf8_3.xml : failed to parse
|