[php-src] PR #21565: Fix GH-21548: Dom\XMLDocument::C14N() emits duplicate xmlns declarati…

From: Date: Sat, 28 Mar 2026 14:22:22 +0000
Subject: [php-src] PR #21565: Fix GH-21548: Dom\XMLDocument::C14N() emits duplicate xmlns declarati…
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-35418@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21565 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.

« previous php.git-pulls (#35418) next »