You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var doc = new xmldom.DOMParser({
errorHandler:function(key,msg){
console.log(key, msg);
}
}).parseFromString('<!', 'text/xml');
with err msg:
xmldom/sax.js:480
var len = matchs.length;
^
TypeError: Cannot read property 'length' of undefined
at parseDCC (node_modules/xmldom/sax.js:480:19)
at parse (node_modules/xmldom/sax.js:122:10)
at Object.XMLReader.parse (node_modules/xmldom/sax.js:30:3)
at DOMParser.parseFromString (node_modules/xmldom/dom-parser.js:25:7)
The text was updated successfully, but these errors were encountered:
var doc = new xmldom.DOMParser({
errorHandler:function(key,msg){
console.log(key, msg);
}
}).parseFromString('</', 'text/xml');
error:
fatalError end tag name: </ is not match the current start tagName:undefined
@#[line:undefined,col:undefined]
node_modules/xmldom/dom-parser.js:113
var tagName = current.tagName;
^
TypeError: Cannot read property 'tagName' of undefined
at Object.DOMHandler.endElement (node_modules/xmldom/dom-parser.js:113:27)
at parse (node_modules/xmldom/sax.js:107:15)
at Object.XMLReader.parse (node_modules/xmldom/sax.js:30:3)
at DOMParser.parseFromString (node_modules/xmldom/dom-parser.js:25:7)
Following code crashes:
with err msg:
The text was updated successfully, but these errors were encountered: