private Validator newValidator(Schema schema) {
        Validator validator = schema.newValidator();
        validator.setResourceResolver(resourceResolver);

        return validator;
    }
Parses XML content to a jaxb model using {@link JAXBContext}

@param <T> type of jaxb model
core/src/main/java/com/github/dozermapper/core/builder/xml/DefaultJAXBModelParser.java