private Schema newSchema() throws SAXException {
        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
        factory.setResourceResolver(resourceResolver);

        return factory.newSchema();
    }
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