(nodeSerializeToString) TypeError: Cannot read property 'prefix' of null #228
Open
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
Labels
No labels