fix DOM element namespace URL access

This commit is contained in:
Christian Flothmann 2019-01-26 14:00:18 +01:00
parent cafbdb73e8
commit 429bddf96b

View File

@ -672,7 +672,7 @@ EOF
} }
foreach ($alias->childNodes as $child) { foreach ($alias->childNodes as $child) {
if (!$child instanceof \DOMElement && self::NS !== $child->namespaceURI) { if (!$child instanceof \DOMElement || self::NS !== $child->namespaceURI) {
continue; continue;
} }
if (!\in_array($child->localName, ['deprecated'], true)) { if (!\in_array($child->localName, ['deprecated'], true)) {