summaryrefslogtreecommitdiff
path: root/SAX.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-02-20 16:44:41 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-02-20 21:49:04 +0100
commitce0871e15cdb68e505ccd9d9c96ff8455ed936ab (patch)
tree8fdf56902e5e8f208e3af23a3100f9564ac9339e /SAX.c
parente03590c9adfed2856866b5b1edaaf339b4523913 (diff)
downloadlibxml2-ce0871e15cdb68e505ccd9d9c96ff8455ed936ab.tar.gz
Only warn on invalid redeclarations of predefined entities
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.
Diffstat (limited to 'SAX.c')
0 files changed, 0 insertions, 0 deletions