[php-src] PR #11454: Fix bug #55294 and #47530 and #47847: namespace reconciliation issues
| From: | nielsdos | Date: | Wed, 14 Jun 2023 20:07:53 +0000 |
| Subject: | [php-src] PR #11454: Fix bug #55294 and #47530 and #47847: namespace reconciliation issues | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22733@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11454
Author: nielsdos
Fixes [#55294](https://bugs.php.net/bug.php?id=55294)
Fixes [#47530](https://bugs.php.net/bug.php?id=47530)
Fixes [#47847](https://bugs.php.net/bug.php?id=47847)
We'll use the DOM wrapper version of libxml2 instead of the regular one. It's conforming
to the behaviour we expect of DOM. Most of this patch is tests.
I based and extended the tests on the code attached with the aforementioned bug reports. Therefore
the credits for the tests:
Co-authored-by: hilse at web dot de
Co-authored-by: robin2008 at altruists dot org
Co-authored-by: sgunderson at bigfoot dot com
We'll also change the searching point of the internal reconciliation to start at the top of the
added tree to avoid redundant work now that the function is changed.