I do the same with RDF and it works. By the way I use: tika.detect(hex) On Thu, Apr 19, 2018 at 7:54 AM, Nick Burch <[email protected]> wrote:
> On Wed, 18 Apr 2018, Jean-Nicolas Boulay Desjardins wrote: > >> I converted this RSS XML content to hex: >> >> <?xml version="1.0" encoding="UTF-8" ?> >> <rss version="2.0"> >> >> Then send it to Tika... Tika returns: text/plain >> > > Base 64 encoded XML is no longer valid XML, so this is as expected. > > Why am I not getting the rss mime type? >> > > You need to send Tika the real file as-is > > Nick >
