Skip to content

TypeError: Cannot read property '$ns' of undefined #8

Open
@ottosson

Description

@ottosson

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions