History log of /PHP-8.3/ext/dom/tests/DOMDocument_saveXML_XML_SAVE_NO_DECL.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# 0fd226c2 22-Aug-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Update DOM test to work around libxml2 bug

As reported in GH-12024, the test fails in the encoding part of the test
file. This is due to a libxml2 bug (that's been fixed in modern
ve

Update DOM test to work around libxml2 bug

As reported in GH-12024, the test fails in the encoding part of the test
file. This is due to a libxml2 bug (that's been fixed in modern
versions, but of course various systems and distros are always behind).
The goal of this part of the test is to check if an encoding declaration
is outputted. So the actual encoding used doesn't matter.
Switch to UTF-8, which seems to always work, to work around the issue.

show more ...


# 655f116b 29-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

XLEAK XML_SAVE_NO_DECL test for old libxml2 versions


# 4bee5743 25-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-11792: LIBXML_NOXMLDECL is not implemented or broken

Fixes GH-11792.
Closes GH-11794.