You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2014/05/29 18:37:02 UTC

[jira] [Commented] (TIKA-1313) XSL-FO detection

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

Ken Krugler commented on TIKA-1313:
-----------------------------------

Is there a test file you could provide that's valid xsl-fo?

> XSL-FO detection
> ----------------
>
>                 Key: TIKA-1313
>                 URL: https://issues.apache.org/jira/browse/TIKA-1313
>             Project: Tika
>          Issue Type: Improvement
>          Components: detector, mime
>    Affects Versions: 1.5
>            Reporter: Marco Quaranta
>            Priority: Minor
>             Fix For: 1.6
>
>
> Please add the following mime-magic in order to correctly detect xsl-fo files
> {code}
>  <mime-type type="application/xslfo+xml">
>     <alias type="text/xsl"/>
>     <acronym>XSLFO</acronym>
>     <_comment>XSL Format</_comment>
>     <root-XML localName="root"
>               namespaceURI="http://www.w3.org/1999/XSL/Format"/>
>     <glob pattern="*.xslfo"/>
> 	<glob pattern="*.fo"/>
>   </mime-type>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)