From 5001adf2218e0356052053e8381d36999787273a Mon Sep 17 00:00:00 2001 From: Alfred Berg Date: Thu, 13 May 2021 17:36:50 +0200 Subject: [PATCH] Xpath accept slightly malformed xml (html) --- src/core/operations/XPathExpression.mjs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/operations/XPathExpression.mjs b/src/core/operations/XPathExpression.mjs index 7bfe3ee1..67b7cc36 100644 --- a/src/core/operations/XPathExpression.mjs +++ b/src/core/operations/XPathExpression.mjs @@ -52,12 +52,6 @@ class XPathExpression extends Operation { try { doc = new xmldom.DOMParser({ errorHandler: { - warning(w) { - throw w; - }, - error(e) { - throw e; - }, fatalError(e) { throw e; }