abdolence / x2js

x2js - XML to JSON and back for JavaScript
1.01k stars 492 forks source link

Empty node exception #33

Open cksanjose opened 8 years ago

cksanjose commented 8 years ago

When an xml file contains an empty node, the parser returns an exception. The empty node that it can't handle is <p /> I configured to X2JS to use emptyNodeForm : "text" but the parser is still returning an exception.