Description
With mime.type.magic as true (the default) Office Open XML spreadsheets (*.xlsx) are treated as zip files and not parsed correctly:
% bin/nutch parsechecker http://localhost/test.xlsx fetching: http://localhost/test.xlsx parsing: http://localhost/test.xlsx contentType: application/zip ...
Xlsx files are formally zip files. Nevertheless, both HTTP header and file name are clear:
% wget -d http://localhost/test.xlsx
...
HTTP/1.1 200 OK
...
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
...
Tika 1.4 detects the type correctly:
% java -jar tika-app-1.4.jar -d http://localhost/test/test.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet