1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

parser: Report fatal error if document entity couldn't be loaded

Only lower error level when loading entities.

Fixes #667.
This commit is contained in:
Nick Wellnhofer
2024-01-22 21:02:16 +01:00
parent 37d474ff7e
commit 63986c45b9
12 changed files with 39 additions and 33 deletions

View File

@@ -10,7 +10,7 @@ import libxml2
# Memory debug specific
libxml2.debugMemory(1)
expect='--> I/O --> warning : --> failed to load "missing.xml": No such file or directory\n'
expect='--> I/O --> error : --> failed to load "missing.xml": No such file or directory\n'
err=""
def callback(ctx, str):
global err