private static MimeTypes typesFromDomElement(Element element)
            throws TikaException, IOException {
        Element mtr = getChild(element, "mimeTypeRepository");
        if (mtr != null && mtr.hasAttribute("resource")) {
            return MimeTypesFactory.create(mtr.getAttribute("resource"));
        } else {
            return getDefaultMimeTypes(null);
        }
    }
Provides a default configuration (TikaConfig).  Currently creates a
new instance each time it's called; we may be able to have it
return a shared instance once it is completely immutable.

@return default configuration
tika-core/src/main/java/org/apache/tika/config/TikaConfig.java