Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
force to build document before closing the stream. #7
As specified by Apache documentation,
the parse may be incomplete when the current code closes the input stream, leading to downstream exceptions when later using a large file (Colored in particular). This patch forces to finish the parse before exiting the function.
So this patches the patch of Abel, but loses some on the-fly-ness from the parser.