You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ni...@apache.org on 2017/01/30 09:09:02 UTC
[3/5] tika git commit: TIKA-2255 Magic for older sas data files
TIKA-2255 Magic for older sas data files
Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/a79de0cc
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/a79de0cc
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/a79de0cc
Branch: refs/heads/2.x
Commit: a79de0ccfa20feeed8e8c805f320e3f2d9077829
Parents: 4d8feae
Author: Nick Burch <ni...@gagravarr.org>
Authored: Mon Jan 30 08:39:43 2017 +0000
Committer: Nick Burch <ni...@gagravarr.org>
Committed: Mon Jan 30 08:50:27 2017 +0000
----------------------------------------------------------------------
.../resources/org/apache/tika/mime/tika-mimetypes.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tika/blob/a79de0cc/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
----------------------------------------------------------------------
diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 1364f72..6b052c5 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -3788,6 +3788,16 @@
<glob pattern="*.st7"/>
<glob pattern="*.sas7baud"/>
</mime-type>
+ <mime-type type="application/x-sas-data-v6">
+ <_comment>SAS v6 Data Set</_comment>
+ <glob pattern="*.sd2"/>
+ <magic priority="40">
+ <match value="SAS 6." type="string" offset="0" />
+ <match value="SAS 7." type="string" offset="0" />
+ <match value="SAS 8.0" type="string" offset="0" />
+ <match value="SAS 9.0" type="string" offset="0" />
+ </magic>
+ </mime-type>
<mime-type type="application/x-sas-data">
<_comment>SAS Data Set</_comment>
<glob pattern="*.sd7"/>