[ https://issues.apache.org/jira/browse/TIKA-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074654#comment-16074654 ]
Christopher Creutzig commented on TIKA-2418: -------------------------------------------- That was quick, thanks! > English ASCII text classified as video/quicktime > ------------------------------------------------ > > Key: TIKA-2418 > URL: https://issues.apache.org/jira/browse/TIKA-2418 > Project: Tika > Issue Type: Bug > Components: detector > Affects Versions: 1.14 > Reporter: Christopher Creutzig > Fix For: 1.16 > > Attachments: 6688-1.txt > > > The attached file was created by the following steps: > Download http://www.gutenberg.org/files/6688/6688-0.txt from Project Gutenberg > Discard the first 151 lines: tail -n +151 6688-0.txt > 6688-1.txt > Running org.apache.tika.detect.DefaultDetector on this file returns > “video/quicktime.” I am unsure as to why. > f = > org.apache.tika.io.TikaInputStream.get(java.io.FileInputStream(fullname)); > detector = org.apache.tika.detect.DefaultDetector; > md = org.apache.tika.metadata.Metadata; > fulltype = string(detector.detect(f,md)); -- This message was sent by Atlassian JIRA (v6.4.14#64029)