You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Keith R. Bennett (JIRA)" <ji...@apache.org> on 2007/10/19 16:51:10 UTC

[jira] Closed: (TIKA-76) Need to add test documents with wrong extensions.

     [ https://issues.apache.org/jira/browse/TIKA-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith R. Bennett closed TIKA-76.
--------------------------------

    Resolution: Won't Fix
      Assignee: Keith R. Bennett

Instead of adding test documents, tests were added to AutoDetectParserTest that used the existing files but "pretended" that their names were different (bad).

> Need to add test documents with wrong extensions.
> -------------------------------------------------
>
>                 Key: TIKA-76
>                 URL: https://issues.apache.org/jira/browse/TIKA-76
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Assignee: Keith R. Bennett
>             Fix For: 0.1-incubator
>
>         Attachments: TIKA-76.patch
>
>
> We need to add test documents with misleading extensions to verify that the file header MIME type determination is taking precedence over the file name approach.
> I suggest copying existing files such as:
> cp testHTML.html testReallyHTML.doc

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