[
https://issues.apache.org/jira/browse/TIKA-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998845#comment-14998845
]
Roberto Benedetti commented on TIKA-1792:
-----------------------------------------
I see, but tika-mimetypes.xml already contains such entries for EPUB and iBooks.
Furthermore [Annex
A|http://www.etsi.org/deliver/etsi_ts/102900_102999/102918/01.03.01_60/ts_102918v010301p.pdf]
of the specification requires mimetype entry to be _the first_ and
_uncompressed_ entry just to use mime magics.
> Add ASiC-E and ASiC-S mime types
> --------------------------------
>
> Key: TIKA-1792
> URL: https://issues.apache.org/jira/browse/TIKA-1792
> Project: Tika
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.11
> Reporter: Roberto Benedetti
> Priority: Minor
> Fix For: 1.12
>
> Attachments: report-7.asics, report-8.asice
>
>
> These are the references:
> *
> [http://www.iana.org/assignments/media-types/application/vnd.etsi.asic-e+zip]
> *
> [http://www.iana.org/assignments/media-types/application/vnd.etsi.asic-s+zip]
> My {{custom-mimetypes.xml}} is:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <mime-info>
> <mime-type type="application/vnd.etsi.asic-e+zip">
> <acronym>ASiC-E</acronym>
> <_comment>Extended Associated Signature Container</_comment>
> <magic priority="50">
> <match value="PK\003\004" type="string" offset="0">
> <match value="mimetypeapplication/vnd.etsi.asic-e+zip" type="string"
> offset="30" />
> </match>
> </magic>
> <glob pattern="*.asice" />
> </mime-type>
> <mime-type type="application/vnd.etsi.asic-s+zip">
> <acronym>ASiC-S</acronym>
> <_comment>Simple Associated Signature Container</_comment>
> <magic priority="50">
> <match value="PK\003\004" type="string" offset="0">
> <match value="mimetypeapplication/vnd.etsi.asic-s+zip" type="string"
> offset="30" />
> </match>
> </magic>
> <glob pattern="*.asics" />
> </mime-type>
> </mime-info>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)