{"action":"opened","issue":{"url":"https://api.github.com/repos/Leonidas-from-XIV/node-xml2js/issues/203","labels_url":"https://api.github.com/repos/Leonidas-from-XIV/node-xml2js/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/Leonidas-from-XIV/node-xml2js/issues/203/comments","events_url":"https://api.github.com/repos/Leonidas-from-XIV/node-xml2js/issues/203/events","html_url":"https://github.com/Leonidas-from-XIV/node-xml2js/issues/203","id":75845982,"number":203,"title":"Parsing OFX xml missing closing tags error","user":{"login":"GradyD","id":994964,"avatar_url":"https://avatars.githubusercontent.com/u/994964?v=3","gravatar_id":"","url":"https://api.github.com/users/GradyD","html_url":"https://github.com/GradyD","followers_url":"https://api.github.com/users/GradyD/followers","following_url":"https://api.github.com/users/GradyD/following{/other_user}","gists_url":"https://api.github.com/users/GradyD/gists{/gist_id}","starred_url":"https://api.github.com/users/GradyD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GradyD/subscriptions","organizations_url":"https://api.github.com/users/GradyD/orgs","repos_url":"https://api.github.com/users/GradyD/repos","events_url":"https://api.github.com/users/GradyD/events{/privacy}","received_events_url":"https://api.github.com/users/GradyD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T04:48:34Z","updated_at":"2015-05-13T04:48:34Z","closed_at":null,"body":"I have an OFX file, example: https://github.com/GradyD/banking.js/blob/master/test/fixtures/sample.ofx.\r\n\r\nI removed the header without any issues but when I try,\r\n```\r\nvar parser = new parseString.Parser(); // where parseString is the require of xml2js\r\nJSON.parse(JSON.stringify(parser.parseString(ofx, function(err, result) {\r\n  // console.dir(\"OFX FILE:\" + ofx);\r\n  console.dir(\"ERROR:\" + err);\r\n  console.dir(\"RESULT:\" + result);\r\n})));\r\n```\r\n\r\nI always get the same error,\r\n'ERROR:Error: Unexpected close tag\\nLine: 6\\nColumn: 15\\nChar: >'\r\n\r\nWhen I manually add the closing tags it start to progress but the XML file I get from an ajax call does not have ending tags for every line. Is there a way I can still parse this out? \r\n\r\nCurrently the project is using 'xml2json', which I am having issues installing on my windows desktop so I am just trying to transfer to 'xml2js'. I could not really test but because there is not an open issue I am assuming that xml2json does currently work, I just can't get it installed.\r\n\r\nAny help would be appreciated!\r\n\r\nThanks"}}