[GIT-PULLS] [php-src] PR #23513: ext/dom: getNamedItemNS() matching on the qualified name.

[email protected] (devnexen)
Newsgroups php.git-pulls
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.