Source

perl-XML-LibXML / xpath.c

Diff from to

File xpath.c

     
         /* get the namespace information */
         if (refNode->type == XML_DOCUMENT_NODE) {
-            ctxt->namespaces = xmlGetNsList(refnode->doc, refNode->children);
+            ctxt->namespaces = xmlGetNsList(refNode->doc, refNode->children);
         }
         else {
             ctxt->namespaces = xmlGetNsList(refNode->doc, refNode);