robrighter/node-xml — pull request #28 by alexlatchford (2012-09-10 10:21:22+00:00)
Title: endDocument is called even after pause/resume used

With the current code after an interrupt is sent, i.e. a pause() is called the interrupt flag is never reset to false at any point so endDocument can never be called. I'm sure this could be improved further but it works for the scenario I need it to work so enjoy :)