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

Alessandro De Angelis edited comment on TIKA-1821 at 2/2/16 10:02 AM:
----------------------------------------------------------------------

I've created a smaller file [test-tika-error-v2.xml.p7m] but the detect, in 
this case, works as expected and return 'application/pkcs7-signature'. So I've 
produced other test files until i've replicated the error with the 
'test-tika-error-v4.xml.p7m'. In attachment you'll find all the test files I've 
created.



was (Author: tacchan):
I've created a smaller file [test-tika-error-v2.xml.p7m] but the detect, in 
these case, works as expected and return 'application/pkcs7-signature'. So I've 
produced other test files until i've replicated the error with the 
'test-tika-error-v4.xml.p7m'. In attachment you'll find all the test files I've 
created.


> Problem in Tika().detect for xml file signed in CADES
> -----------------------------------------------------
>
>                 Key: TIKA-1821
>                 URL: https://issues.apache.org/jira/browse/TIKA-1821
>             Project: Tika
>          Issue Type: Bug
>          Components: detector
>    Affects Versions: 1.8
>            Reporter: Alessandro De Angelis
>         Attachments: test-tika-error-v2.xml.p7m, test-tika-error-v3.xml.p7m, 
> test-tika-error-v4.xml.p7m, test-tika-error.xml.p7m
>
>
> We have a xml file with base64 attachment signed with CADES signature. 
> In this case TIKA recognize the resulted file mime type as "text/plain" and 
> not "application/pkcs7-signature" as we expected.



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

Reply via email to