[ 
https://issues.apache.org/jira/browse/TIKA-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182140#comment-15182140
 ] 

Hudson commented on TIKA-1877:
------------------------------

SUCCESS: Integrated in tika-trunk-jdk1.7 #920 (See 
[https://builds.apache.org/job/tika-trunk-jdk1.7/920/])
fix for TIKA-1877 contributed by prasadns14 (prasadns14: rev 
602d237feec48bfd97bc2b2b38ea614b1ae2c55d)
* tika-parsers/src/test/java/org/apache/tika/mime/TestMimeTypes.java
* tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
* 
tika-parsers/src/test/resources/test-documents/4E8D6B46E2366D7063DE3926AF0F976A0DCCD57A7E3B53B7D54768F16DD23984
Rename the test file for TIKA-1877 to better match our test file naming (nick: 
rev 1299c9e494882e011749fb8a4514c40631df03d1)
* tika-parsers/src/test/resources/test-documents/testFITS_ShorterHeader.fits
* tika-parsers/src/test/java/org/apache/tika/mime/TestMimeTypes.java
* 
tika-parsers/src/test/resources/test-documents/4E8D6B46E2366D7063DE3926AF0F976A0DCCD57A7E3B53B7D54768F16DD23984


> On updating the tika-mimetypes.xml to detect .fts file format, tika detector 
> does not return anything
> -----------------------------------------------------------------------------------------------------
>
>                 Key: TIKA-1877
>                 URL: https://issues.apache.org/jira/browse/TIKA-1877
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>            Reporter: Prasad Nagaraj Subramanya
>            Priority: Minor
>             Fix For: 1.13
>
>         Attachments: 
> 3DEE2CE70CAD248DC8A46C2D0BD0BD6C21AACE54AC958264773390B39C8AF079, 
> 4E8D6B46E2366D7063DE3926AF0F976A0DCCD57A7E3B53B7D54768F16DD23984, 
> tika-mimetypes.xml
>
>
> The match value for .fts file format in tika-mimetypes.xml is "SIMPLE  =      
>               T".
> Tika detected a .fts file as application/octet-stream. On verifying the 
> header I found the value to be "SIMPLE  =                T"(just 16 spaces 
> before = and T)
> I tried the following changes-
> Change 1) Updated the existing match value. But the build failed 
> Change 2) Added a new match value <match value="SIMPLE  =                T" 
> type="string" offset="0"/> after the existing one.
> But now, tika returns empty value. It neither identifies the file as .fts nor 
> as application/octet-stream.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to