prewk / xml-string-streamer

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

Truncated XML check #39

Open prewk opened 9 years ago

prewk commented 9 years ago

Possible option: Check in beforehand if input XML is erroneously truncated in the middle. (Might be problematic for url streams)

dbrmr commented 9 years ago

I would like to suggest not to check it beforehand, but after the parser finishes, there should be some indication, that the XML was truncated. For example boolean flag, that can be checked afterwards.