> java -jar tika-app.jartest.mif </head> <body/></html> > java -jar tika-app.jartest.doc Exception in thread "main" org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.microsoft.OfficeParser@ff5b51f at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:286) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:188) at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:467) at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:144) Caused by: org.apache.poi.poifs.filesystem.NotOLE2FileException: Invalid header signature; read 0x694672656B614D3C, expected 0xE11AB1A1E011CFD0 - Your file appears not to be a valid OLE2 document at org.apache.poi.poifs.storage.HeaderBlock.<init>(HeaderBlock.java:162) at org.apache.poi.poifs.storage.HeaderBlock.<init>(HeaderBlock.java:112) at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:231) at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:167) at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:109) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) ... 5 more > java -jar tika-app.jartest.fm <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="X-Parsed-By" content="org.apache.tika.parser.EmptyParser"/> <meta name="resourceName" content="test.fm"/> <meta name="Content-Length" content="10240"/> <meta name="Content-Type" content="application/vnd.framemaker"/> <title/> </head> <body/></html>