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
{{ message }}
This repository was archived by the owner on Jan 7, 2021. It is now read-only.
The call to xml2json is: var json = xml2json.toJson(inputFile, {object: true, trim: true}) ;
The exception says: Error: There are errors in your xml file: not well-formed (invalid token) at Object.module.exports [as toJson] (c:\DataRoot\Projects\DevicePackProcessor\node_modules\xml2json\lib\xml2json.js:173:15) at Object.doParsing (c:\DataRoot\Projects\DevicePackProcessor\src\parser.js:40:33) at EventEmitter.ipcMain.on (c:\DataRoot\Projects\DevicePackProcessor\src\main.js:68:12) at EventEmitter.emit (events.js:182:13) at WebContents.<anonymous> (C:\DataRoot\Projects\DevicePackProcessor\node_modules\electron\dist\resources\electron.asar\browser\api\web-contents.js:284:13) at WebContents.emit (events.js:182:13)
I have checked the input file against the XSD file and there are no errors.
Is this a problem with XML2JSON or my usage of it?