factory.setValidating(true);
    public DOMifier(ConfigFinder configFinder) {                logger = Logging.getLogger(this.getClass().getName());        DocumentBuilderFactory factory = DocumentBuilderFactoryImpl.newInstance();        //Can customize factory before getting domBuilder.        //factory.setValidating(true);                try {            domBuilder = factory.newDocumentBuilder();        } catch (ParserConfigurationException pce) {            logger.error("Could not create domBuilder: " + pce.toString() );        }        this.configFinder = configFinder;    }