Adds partial support to UpdateActionById

This commit is contained in:
Felipe Zimmerle
2018-09-26 15:57:02 -03:00
parent 68398a51f3
commit 74841779f8
16 changed files with 922 additions and 712 deletions

View File

@@ -93,7 +93,7 @@ void XML::evaluate(Transaction *t,
t->debug(2, "XML: Can't look for xmlns, internal error.");
#endif
} else {
std::vector<actions::Action *> acts = rule->getActionsByName("xmlns");
std::vector<actions::Action *> acts = rule->getActionsByName("xmlns", t);
for (auto &x : acts) {
actions::XmlNS *z = (actions::XmlNS *)x;
if (xmlXPathRegisterNs(xpathCtx, (const xmlChar*)z->m_scope.c_str(),