[php-src] PR #23513: ext/dom: getNamedItemNS() matching on the qualified name.
| From: | devnexen | Date: | Sun, 30 Aug 2026 18:24:36 +0000 |
| Subject: | [php-src] PR #23513: ext/dom: getNamedItemNS() matching on the qualified name. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38223@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23513
Author: devnexen
The named item handlers took a single NULL ns to mean both "no namespace argument" and
"the null namespace", so getNamedItemNS() fell back to the qualified name lookup used by
getNamedItem(), and both lookups handed back DTD attribute declarations that DOM_RET_OBJ() cannot
wrap. The two lookups are now told apart by a use_ns flag and declarations are rejected.