In the reset method the stack-Position was not reset. This leads to an overflow of the stack array when the parser is reused and (the previous document was not fully finished or the previous document was faulty).
The introduced fix resets the stackPos to 0 in the reset() method.
In the reset method the stack-Position was not reset. This leads to an overflow of the stack array when the parser is reused and (the previous document was not fully finished or the previous document was faulty).
The introduced fix resets the stackPos to 0 in the reset() method.