[php-src] PR #16156: Fix GH-16151: Assertion failure in ext/dom/parentnode/tree.c
| From: | nielsdos | Date: | Tue, 01 Oct 2024 18:56:11 +0000 |
| Subject: | [php-src] PR #16156: Fix GH-16151: Assertion failure in ext/dom/parentnode/tree.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28928@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16156
Author: nielsdos
Unfortunately, old DOM allows attributes to be used as parent nodes. Only text nodes and entities
are allowed as children for these types of nodes, because that's the constraint DOM and libxml
give us.