Open
Description
When I try to parse a xml file I get the error "TypeError: Cannot read property '$ns' of undefined", and it seems to be coming from xml2js. I just copied and pasted the example code:
xml4js.parseString(xml, {downloadSchemas: true}, function (err, result) {
console.log(util.inspect(result, false, null));
});
There is no problem parsing the same xml with xml2js.
I use xml2js 0.4.9 and xml4js 0.1.2.
Metadata
Metadata
Assignees
Labels
No labels