I am not sure that it worked ever. Basically we read the first x bits and
detect file type by a "magic" number.
In xAdes case it is XML with special tags in it. Most likely it has the
same magic number. Have to check it.
if so, we have to add if/else in our file detector ...


On Mon, Aug 25, 2025 at 1:43 PM Tilman Hausherr (Jira) <[email protected]>
wrote:

>
>     [
> https://issues.apache.org/jira/browse/TIKA-4467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18015956#comment-18015956
> ]
>
> Tilman Hausherr commented on TIKA-4467:
> ---------------------------------------
>
> Was it recognized as xades in previous versions, and if yes, in which? I
> tried with some older versions and it didn't.
>
> > 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