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 a9acec7 commit 7dcd3f6Copy full SHA for 7dcd3f6
src/Utils/XPath.php
@@ -27,9 +27,11 @@ class XPath extends XPathUtils
27
*/
28
public static function getXPath(DOMNode $node, bool $autoregister = false): DOMXPath
29
{
30
- $xp = parent::getXPath($node);
+ $xp = parent::getXPath($node, $autoregister);
31
+
32
$xp->registerNamespace('ds', C::NS_XDSIG);
33
$xp->registerNamespace('xenc', C::NS_XENC);
34
35
return $xp;
36
}
37
0 commit comments