We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f59e7 commit faa3768Copy full SHA for faa3768
src/XML/DOMDocumentFactory.php
@@ -179,9 +179,6 @@ public static function normalizeDocument(DOMDocument $doc): DOMDocument
179
*/
180
public static function lookupNamespaceURI(DOMElement $elt, string $prefix): ?string
181
{
182
- // Get the root element
183
- $root = $elt->ownerDocument->documentElement;
184
-
185
// Collect all xmlns attributes from the document
186
$xpath = XPath::getXPath($elt->ownerDocument);
187
0 commit comments