@Test
public void testXMLMimeTypeManagement() throws IOException, ExtractionException {
final String documentURI = "http://www.test.com/resource.xml";
final String contentType = "application/xml";
final String in = StreamUtils.asString( this.getClass().getResourceAsStream("any23-xml-mimetype.xml") );
final DocumentSource doc = new StringDocumentSource(in, documentURI, contentType);
final Any23 any23 = new Any23();
final CountingTripleHandler cth = new CountingTripleHandler(false);
final ReportingTripleHandler rth = new ReportingTripleHandler(cth);
final ExtractionReport report = any23.extract(doc, rth);
Assert.assertFalse(report.hasMatchingExtractors());