[php-src] PR #12462: Fix GH-12455: Namespace prefixes reused incorrectly depending on libxml2 version
| From: | nielsdos | Date: | Tue, 17 Oct 2023 18:32:15 +0000 |
| Subject: | [php-src] PR #12462: Fix GH-12455: Namespace prefixes reused incorrectly depending on libxml2 version | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23915@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12462
Author: nielsdos
On old libxml2 versions, if you reconcile against a parent that does not contain your own prefix,
the prefix may shift. Avoid this by reconciling against your own parent, which will work correctly
in both new and old versions, at the potential cost of performance.
Also remove the insertAfter part of that one test, because insertAfter does not exist and I
apparently forgot to remove that part ...