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

Christoph Läubrich commented on TIKA-3110:
------------------------------------------

If you are only concerned about FileInputStream and alike, you still can 
implement skip in TikaInputstream in terms of read()...  and do it always right.
That might just be slower than a real skip but safer. Anyways, code that fails 
should be fixed, the skip contract is clearly wrecked and if it could be an 
issue code should not use that method.

> cannot extract metadata from 7z .tar archive
> --------------------------------------------
>
>                 Key: TIKA-3110
>                 URL: https://issues.apache.org/jira/browse/TIKA-3110
>             Project: Tika
>          Issue Type: Bug
>          Components: mime, parser
>    Affects Versions: 1.24.1
>            Reporter: Alex
>            Priority: Major
>         Attachments: 7ztar.tar
>
>
> When I extracted metadata from .tar archive wich was created by linux bash 
> it's works as I expect but if .tar archive was created by 7z I got an error:
>  TikaException: TIKA-198: Illegal IOException from 
> org.apache.tika.parser.pkg.PackageParser@4d0f2471 
> I created a project on GitHub for your convenience. It includes 2 files and 
> code for play around: [https://github.com/AlexOkayJ/apache-tika-tar-issue.git]
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to