prewk / xml-string-streamer

Stream large XML files with low memory consumption.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Truncated XML check

prewk opened this issue · comments

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

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.