mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

Downgrade the error message to a warning since the error was ignored, anyway. Also print the name of redeclared entity. For a proper fix that also shows filename and line number of the invalid redeclaration, we'd have to - pass the parser context to the entity functions somehow, or - make these functions return distinct error codes. Partial fix for #308.
5 lines
47 B
XML
5 lines
47 B
XML
<!DOCTYPE doc [
|
|
<!ENTITY lt '<'>
|
|
]>
|
|
<doc/>
|