@Test
public void bytesClassPath() throws SAXException, IOException, ConfigurationException {

	ClassLoader localClassLoader = Thread.currentThread().getContextClassLoader();
	URL file = this.getClass().getResource(JAR_FILE);
	assertNotNull("jar url not found", file);
	JarFile jarFile = new JarFile(file.getFile());
	assertNotNull("jar file not found",jarFile);
	JarFileClassLoader cl = new JarFileClassLoader(localClassLoader);
	cl.setJar(file.getFile());
	cl.configure(null, "");
	ClassLoaderEntityResolver resolver = new ClassLoaderEntityResolver(cl);
	String systemId="/ClassLoader/Xslt/names.xsl";
	InputSource inputSource = resolver.resolveEntity(publicId, systemId);
	assertNotNull(inputSource);
}