[php-src] PR #21561: Fix GH-21544: Dom\XMLDocument::C14N() drops namespace declarations on…
| From: | devnexen | Date: | Sat, 28 Mar 2026 09:42:49 +0000 |
| Subject: | [php-src] PR #21561: Fix GH-21544: Dom\XMLDocument::C14N() drops namespace declarations on… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35411@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21561
Author: devnexen
… DOM-built documents.
For programmatically built documents (e.g. createElementNS), namespaces live on node->ns without
corresponding xmlns attributes. Create temporary synthetic nsDef entries so C14N can find them,
complementing the existing xmlns attribute to nsDef conversion.