Skip to content

Commit

Permalink
Word2 and Word5 mimetype magic, from investigations into TIKA-1092
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1462545 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Gagravarr committed Mar 29, 2013
1 parent 6e9e7cc commit 6a41a3a
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,22 @@
<sub-class-of type="application/x-tika-msoffice"/>
</mime-type>

<mime-type type="application/msword2">
<!-- Pre-OLE2, not a subtype of application/x-tika-msoffice -->
<_comment>Microsoft Word 2 Document</_comment>
<magic priority="50">
<match value="0x9ba5" type="string" />
<match value="0xdba5" type="string" />
</magic>
</mime-type>
<mime-type type="application/msword5">
<!-- Pre-OLE2, not a subtype of application/x-tika-msoffice -->
<_comment>Microsoft Word 5 Document</_comment>
<magic priority="50">
<match value="0xfe37" type="string" />
</magic>
</mime-type>

<mime-type type="application/mxf">
<glob pattern="*.mxf"/>
</mime-type>
Expand Down

0 comments on commit 6a41a3a

Please sign in to comment.