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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to