Skip to content

Commit 6199289

Browse files
committed
Backport 3ec5919: 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 b786187 commit 6199289

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/libxml/tests/bug61367-read_2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ bool(true)
5656
int(4)
5757
bool(true)
5858

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

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

ext/libxml/tests/libxml_disable_entity_loader_2.phpt

Lines changed: 1 addition & 1 deletion
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)