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

Tim Allison edited comment on TIKA-4467 at 8/25/25 12:37 PM:
-------------------------------------------------------------

We should be able to add a "root-XML" entry for "ds:Signature" like we do for 
other xml-based file formats, e.g.: 
[https://github.com/apache/tika/blob/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml#L65]

 

That'll handle detection.

 

Then, if we want to add a new parser, something like: 
[https://stackoverflow.com/a/36762530] maybe? Nah, that's not going to work on 
this file.


was (Author: talli...@mitre.org):
We should be able to add a "root-XML" entry for "ds:Signature" like we do for 
other xml-based file formats, e.g.: 
[https://github.com/apache/tika/blob/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml#L65]

 

That'll handle detection. Then, if we want to add a new parser, something like: 
[https://stackoverflow.com/a/36762530] maybe?

> Problem with XADES files format in Apache Tika
> ----------------------------------------------
>
>                 Key: TIKA-4467
>                 URL: https://issues.apache.org/jira/browse/TIKA-4467
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Rafał Bulenda
>            Priority: Major
>         Attachments: Test podpisu.docx.xades
>
>
> Apache Tika Core version 2.9.4 identifies a XAdES file as 
> {{{}application/xml{}}}. Please provide support.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to