Skip to content

(nodeSerializeToString) TypeError: Cannot read property 'prefix' of null #228

Open
@aniltallam

Description

Following code is throwing error at line number 3

let xmlString = '<?xml version="1.0" encoding="utf-8"?>'
let doc = new Dom().parseFromString(xmlString)
let nXmlString = doc.toString()

Error details:

TypeError: Cannot read property 'prefix' of null
at Document.nodeSerializeToString [as toString] (E:\repos\temp\integrator-adaptor\node_modules\xmldom\dom.js:920:22)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions