Skip to content

Commit 3ec5919

Browse files
committed
Update error message for libxml 2.13
External entity loading got its error level decreased in upstream, which means they now map to E_NOTICE. Also the error message format has changed.
1 parent f74f9b0 commit 3ec5919

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/libxml/tests/bug61367-read_2.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ bool(true)
5858
int(4)
5959
bool(true)
6060

61-
Warning: DOMDocument::loadXML(): %Sfailed to load external entity "file:///%s/test_bug_61367-read/bad" in %s on line %d
61+
%s: DOMDocument::loadXML(): %Sfailed to load %s
6262

6363
Warning: Attempt to read property "nodeValue" on null in %s on line %d

ext/libxml/tests/libxml_disable_entity_loader_2.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ bool(true)
3939
Deprecated: Function libxml_disable_entity_loader() is deprecated in %s on line %d
4040
bool(false)
4141

42-
Warning: DOMDocument::loadXML(): %Sfailed to load external entity "%s" in %s on line %d
42+
%s: DOMDocument::loadXML(): %Sfailed to load %s
4343
bool(true)
4444
Done

0 commit comments

Comments
 (0)