mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
ce0871e15c
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.
4 lines
44 B
XML
4 lines
44 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE doc>
|
|
<doc/>
|