private void updateXMLReaderUtils(Element element) throws TikaException {

        Element child = getChild(element, "xml-reader-utils");
        if (child == null) {
            return;
        }

        if (child.hasAttribute("maxEntityExpansions")) {
            XMLReaderUtils.setMaxEntityExpansions(Integer.parseInt(child.getAttribute("maxEntityExpansions")));
        }

        if (child.hasAttribute("maxNumReuses")) {
            XMLReaderUtils.setMaxNumReuses(Integer.parseInt(child.getAttribute("maxNumReuses")));
        }
        // make sure to call this after set entity expansions
        if (child.hasAttribute("poolSize")) {
            XMLReaderUtils.setPoolSize(Integer.parseInt(child.getAttribute("poolSize")));
        }

    }
Return an InitializableProblemHandler by name.

@param initializableProblemHandler can be empty, 'ignore', 'info', 'warn' or 'throw', but never null.
@return an InitializableProblemHandler
@throws TikaConfigException if invalid name
tika-core/src/main/java/org/apache/tika/config/TikaConfig.java