private InputSource resolveFromClassPath(String publicId, String systemId) throws IOException {
        InputSource source = null;
        if (systemId != null && systemId.indexOf(DozerConstants.XSD_NAME) > systemId.lastIndexOf("/")) {
            String fileName = String.join("/", "schema", systemId.substring(systemId.indexOf(DozerConstants.XSD_NAME)));

            log.debug("Trying to locate [{}] in classpath", fileName);

            //Attempt to find via user defined class loader
            DozerClassLoader classLoader = beanContainer.getClassLoader();
            URL url = classLoader.loadResource(fileName);

            try {
                if (url == null) {
                    throw new IOException("URL is null. Failed to find '" + fileName + "' via DozerClassLoader.loadResource");
                }

                source = new InputSource(url.openStream());
                source.setPublicId(publicId);
                source.setSystemId(systemId);
            } catch (IOException ex) {
                throw new IOException("Could not resolve bean-mapping XML Schema [" + systemId + "]: not found in classpath; " + fileName, ex);
            }

            log.debug("Found bean-mapping XML Schema [{}] in classpath", systemId);
        }

        return source;
    }
1. Checks if DozerClassloader (i.e.: maybe the user is using a local XSD for some reason)
2. Trys classloader for dozer-schema.jar
3. Trys bundle context for dozer-schema.jar

@param publicId publicId used by XSD
@param systemId systemId used by XSD
@return stream to XSD
@throws IOException if fails to find XSD
core/src/main/java/com/github/dozermapper/core/loader/xml/DozerResolver.java