[ https://issues.apache.org/jira/browse/TIKA-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Palsulich closed TIKA-897. -------------------------------- Resolution: Fixed Closing as fixed per Nick's comment above. We can open a new issue if someone wants UTF-32 XML detection support. > UTF-8 encoded XML is detected as text/plain because of UTF-8 BOM > ---------------------------------------------------------------- > > Key: TIKA-897 > URL: https://issues.apache.org/jira/browse/TIKA-897 > Project: Tika > Issue Type: Bug > Components: mime > Affects Versions: 1.1 > Reporter: Wade Taylor > Priority: Minor > > Detection of XML fails when encoded as UTF-8. The UTF-8 BOM: 0xEF,0xBB,0xBF > causes the XML detector to fail when trying to match "<?xml" at the beginning > of the input stream. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)