[php-src] PR #11362: Fix bug #67440: append_node of a DOMDocumentFragment does not reconcile namespaces
| From: | nielsdos | Date: | Sat, 03 Jun 2023 15:10:20 +0000 |
| Subject: | [php-src] PR #11362: Fix bug #67440: append_node of a DOMDocumentFragment does not reconcile namespaces | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22647@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11362
Author: nielsdos
Fixes [#67440](https://bugs.php.net/bug.php?id=67440)
The problem is that the regular dom_reconcile_ns() only works on a single node. We actually have to
reconciliate the whole tree in case a fragment was added. This also required to move some code
around such that this special case could be handled separately.