[php-src] PR #21566: Fix GH-21548: Dom\XMLDocument::C14N() emits duplicate xmlns declarati…
| From: | devnexen | Date: | Sat, 28 Mar 2026 14:23:33 +0000 |
| Subject: | [php-src] PR #21566: Fix GH-21548: Dom\XMLDocument::C14N() emits duplicate xmlns declarati… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35420@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21566
Author: devnexen
…ons after setAttributeNS().
The xmlns attribute unlinking code in dom_relink_ns_decls_element was clobbering attr->prev
instead of updating the predecessor's next pointer, leaving non-first xmlns attributes
reachable in the properties list. C14N then output them both as nsDef entries and as attributes.