Closed codan84 closed 8 years ago
var dom = require('xmldom').DOMParser; const invalidXml = `<?xml version="1.0" encoding="UTF-8"?><Cell>& " ' < ></Cell>`; const parsed = new dom().parseFromString(invalidXml); console.log(parsed);
Doesn't return an error. The & there is invalid, should be &.
&
&
yes,it's not a bug We added some fault tolerant processing .
Doesn't return an error. The
&
there is invalid, should be&
.