[php-src] PR #12308: Restore old namespace reconciliation behaviour
| From: | nielsdos | Date: | Wed, 27 Sep 2023 16:43:43 +0000 |
| Subject: | [php-src] PR #12308: Restore old namespace reconciliation behaviour | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23715@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12308
Author: nielsdos
The
xmlDOMWrapReconcileNamespaces method we used to fix the namespace corruption issues
in 8.1.21/8.2.8 caused regressions. Primarily, there is a similar corruption that the
xmlReconciliateNs method used to have in which a namespace is suddenly shifted
(https://github.com/SAML-Toolkits/php-saml/issues/562) and the side-effect of removing redundant
namespaces causes problems when a specific serialization is required.
**REMINDER FOR SELF**: there's an additional reconciliation in the lifetime management code in
PHP>=8.3!
This means the following issues will re-open:
* https://bugs.php.net/bug.php?id=47847
* https://bugs.php.net/bug.php?id=55294
For now, restore the old behaviour while we think of a general solution (e.g. something related with
opt-in using the new classes).