[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.