On Sun, 23 Sep 2012, naskoo wrote:
But If Tika's detect(InputStream is) method is used the picture is not the same. The results are: doc - "application/x-tika-msoffice" docx - "application/x-tika-ooxml"
Try wrapping your InputStream as a TikaInputStream - for full container detection Tika needs to be able to read the whole file, but still have it available for the parser
Nick
