1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-17 00:59:34 +03:00

parser: Upgrade XML_IO_NETWORK_ATTEMPT to error

Fixes XML::LibXML test suite.
This commit is contained in:
Nick Wellnhofer
2024-07-04 15:15:17 +02:00
parent f86d17c163
commit ec0881099b
2 changed files with 9 additions and 8 deletions

View File

@ -99,7 +99,7 @@ libxml2.registerInputCallback(my_input_cb)
run_test(desc="Loading entity with custom callback",
docpath=startURL, catalog=None,
exp_status="loaded", exp_err=[
( 3, 'failed to load "http://example.com/dtds/sample.dtd": Attempt to load network entity\n'),
( 4, 'failed to load "http://example.com/dtds/sample.dtd": Attempt to load network entity\n'),
( 4, "Entity 'sample.entity' not defined\n")
])