diff --git a/lib/helper/XML.js b/lib/helper/XML.js index 5f40fe91..69deb75f 100644 --- a/lib/helper/XML.js +++ b/lib/helper/XML.js @@ -20,7 +20,7 @@ function seekForNS(node, parentNS) { return ns; } function mutateNodeNS(node, parentNS) { - if (parentNS === void 0) { parentNS = { _default: 'DAV:' }; } + if (parentNS === void 0) { parentNS = {}; } if (!node) return; var nss = seekForNS(node, parentNS); diff --git a/src/helper/XML.ts b/src/helper/XML.ts index 851d6f9b..c1f92639 100644 --- a/src/helper/XML.ts +++ b/src/helper/XML.ts @@ -24,7 +24,7 @@ function seekForNS(node : any, parentNS : any) : any return ns; } -function mutateNodeNS(node : any, parentNS = { _default: 'DAV:' }) +function mutateNodeNS(node : any, parentNS = { }) { if(!node) return;