Description
Error: RangeError: Maximum call stack size exceeded
xmlData is a large xhtml file - about 46MB
Input
After updating from 5.5.10 to 5.5.12 the parser gives the above error!
The 5.5.10 version, or lower, works fine.
Code
const parser = new XMLParser(options));
try {
const jObj = parser.parse(xmlData)
return jObj;
} catch (err) {
throw new Error(err);
}
Output
expected data
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
Description
Error: RangeError: Maximum call stack size exceeded
xmlData is a large xhtml file - about 46MB
Input
After updating from 5.5.10 to 5.5.12 the parser gives the above error!
The 5.5.10 version, or lower, works fine.
Code
const parser = new XMLParser(options));
try {
const jObj = parser.parse(xmlData)
return jObj;
} catch (err) {
throw new Error(err);
}
Output
expected data
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.