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

Tim Allison commented on TIKA-1513:
-----------------------------------

>From govdocs1, it looks like first byte of 0X03 is a safe way to identify 
>these files.  

[This|http://www.digitalpreservation.gov/formats/fdd/fdd000325.shtml] was 
useful.

Two mime type questions:
1)  What should we use as the canonical mime type for .dbf files?  Proposal: 
{{application/x-dbf}}.

2)  What mimes should the parser "accept", or what should we include in the 
aliases?
>From [filext.com|http://filext.com/file-extension/DBF]:
* application/dbase
* application/x-dbase
* application/dbf
* application/x-dbf
* zz-application/zz-winassoc-dbf

First attempt at mime definition:
{noformat}
  <mime-type type="application/x-dbf">
    <magic priority="100">
      <match value="0x03" type="string" offset="0"/>
    </magic>
    <glob pattern="*.dbf"/>
    <glob pattern="*.dbase"/>
  </mime-type>
{noformat}

> Add mime detection and parsing for dbf files
> --------------------------------------------
>
>                 Key: TIKA-1513
>                 URL: https://issues.apache.org/jira/browse/TIKA-1513
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 1.9
>
>
> I just came across an Apache licensed dbf parser that is available on 
> [maven|https://repo1.maven.org/maven2/org/jamel/dbf/dbf-reader/0.1.0/dbf-reader-0.1.0.pom].
> Let's add dbf parsing to Tika.
> Any other recommendations for alternate parsers?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to