#
552ea62e |
| 26-Feb-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-13517: Multiple test failures when building with --with-expat The reflection failure is because the XML extension is used to check the module dependency information, but that exte
Fix GH-13517: Multiple test failures when building with --with-expat The reflection failure is because the XML extension is used to check the module dependency information, but that extension can be configured to not depend on ext/libxml, resulting in a different output. The solution is to check another extension instead. The test failures in ext/xml/tests are because of different behaviour between libxml2 and Expat error handling. These are expected differences and the solution is to split the tests. Closes GH-13522.
show more ...
|
#
ae83d6ab |
| 29-Nov-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix issues related to libxml2 2.12.0 (#12802) * Avoid passing NULL to xmlSwitchToEncoding This otherwise switches to UTF-8 on libxml2 2.12.0 * Split tests for different err
Fix issues related to libxml2 2.12.0 (#12802) * Avoid passing NULL to xmlSwitchToEncoding This otherwise switches to UTF-8 on libxml2 2.12.0 * Split tests for different error reporting behaviour in libxml2 2.12.0 * Avoid deprecation warnings for libxml2 2.12.0 We can't fully get rid of the parser globals as there are still APIs that implicitly use them. * Temporarily disable part of test for libxml 2.12.0 regression See https://gitlab.gnome.org/GNOME/libxml2/-/issues/634 * Review fixes * [ci skip] Update test description
show more ...
|
#
80a377e6 |
| 13-Aug-2021 |
Christoph M. Becker |
Fix #81351: xml_parse may fail, but has no error code The fix for bug #73151[1] cured the symptoms, but not the root cause, namely xmlParse() must not be called recursively. Since that
Fix #81351: xml_parse may fail, but has no error code The fix for bug #73151[1] cured the symptoms, but not the root cause, namely xmlParse() must not be called recursively. Since that bugfix also messed up the error handling, we basically revert it (but also simplify the return), and then prevent calling the parser recursively. [1] <https://github.com/php/php-src/pull/2166/commits/f2a8a8c068995a5d780882c556cedd53bce3827d> Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-7363.
show more ...
|