prewk / xml-string-streamer

Stream large XML files with low memory consumption.
MIT License
356 stars 49 forks source link

break out instead of null #50

Closed ronnievisser closed 7 years ago

ronnievisser commented 7 years ago

breaking out of the while would probably be better since it then eventually will return false.

prewk commented 7 years ago

Thanks, I think this commit will solve the problem instead: https://github.com/prewk/xml-string-streamer/commit/d6609f6b48402d65b2926aff050eced979e45641 (version 0.9.0 released)