My suspicion is that exceptions like the ones described probably don't
have anything to do with the type of InputStream you are using.  The
problems are probably due to corrupted file contents that would be
visible using any other InputStream on the same file contents.  If you
*do* have a test case that fails in different ways depending on the
type of InputStream please log a bug and supply the sample code and
workbook file.

The errors described typically denote a corrupted file.  Any random
mutation of the data in a worksheet file which causes POI to throw
these exceptions almost always causes Excel to fail to load the file
cleanly.  Having said that, there probably are a large number of
unusual cases that Excel handles/tolerates but POI does not.  If you
have a file that Excel opens OK but POI does not, you should log a bug
and supply that file.

-josh

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to