Updated dependencies

This commit is contained in:
n1474335 2020-12-11 16:24:39 +00:00
parent c9d9730726
commit 2b2ffb3346
12 changed files with 5325 additions and 3021 deletions

View file

@ -50,7 +50,19 @@ class XPathExpression extends Operation {
let doc;
try {
doc = new xmldom.DOMParser().parseFromString(input, "application/xml");
doc = new xmldom.DOMParser({
errorHandler: {
warning(w) {
throw w;
},
error(e) {
throw e;
},
fatalError(e) {
throw e;
}
}
}).parseFromString(input, "application/xml");
} catch (err) {
throw new OperationError("Invalid input XML.");
}