[ 
https://issues.apache.org/jira/browse/SLING-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760555#action_12760555
 ] 

Philipp Koch commented on SLING-1059:
-------------------------------------

the fact is that there are a many mimetype mapping/detecting "libs" available 
(sling, jackrabbit, tika) which require more or less the same functionality. 
from my point of view it makes absolutely sense to have ONE lib that is used by 
all projects that require mimetype mapping/detection and since jackrabbit uses 
tika already and sling is running on top of jackrabbit it makes even more sense 
to me! the advantages are obvious:
- single place to update the mimetype table
- well known api for mimetype detection/mapping

so what i suggest would be to gather all different requirements, discuss these 
and implement what is needed to the tika lib (since i belive that this is the 
right place) , make sure that the footprint is small and use that library in 
sling and jackrabbit.


> Mime Type Detection for WebDAV should use Apache Tika
> -----------------------------------------------------
>
>                 Key: SLING-1059
>                 URL: https://issues.apache.org/jira/browse/SLING-1059
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Lars Trieloff
>            Priority: Minor
>
> Sling's WebDAV servlet currently has its own Mime Type detection mechanism. 
> Given that Tika is a dependency of the soon to be added Jackrabbit 2.0 we can 
> re-use Tika's Mime Type detection mechanism for greater accuracy and a better 
> maintained list of mimetype-extension-mappings.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to