import org.w3c.dom.ls.LSInput;
import org.w3c.dom.ls.LSResourceResolver;
import org.wamblee.io.ClassPathResource;
import org.w3c.dom.ls.LSInput;
import org.w3c.dom.ls.LSResourceResolver;
import org.wamblee.io.ClassPathResource;
private static final String REPORT_TO_HTML_XSL = "reportToHtml.xsl";
private static final String PREFIX = "org/wamblee/xml";
private static final String EXISTING_RESOURCE = PREFIX + "/" + REPORT_TO_HTML_XSL;
private static final String REPORT_TO_HTML_XSL = "reportToHtml.xsl";
private static final String PREFIX = "org/wamblee/xml";
private static final String EXISTING_RESOURCE = PREFIX + "/" + REPORT_TO_HTML_XSL;
public void testResolveExistingFileLSResourceResolver()
throws TransformerException, IOException {
LSInput source = resolver.resolveResource(null, null, "kees",
public void testResolveExistingFileLSResourceResolver()
throws TransformerException, IOException {
LSInput source = resolver.resolveResource(null, null, "kees",
public void testResolveExistingFileLSResourceResolverUsingBasePath()
throws TransformerException, IOException {
public void testResolveExistingFileLSResourceResolverUsingBasePath()
throws TransformerException, IOException {
public void testResolveNonExistingFileLSResourceResolver() {
LSInput input = resolver.resolveResource(null, null, "kees",
NON_EXISTING_RESOURCE, null);
public void testResolveNonExistingFileLSResourceResolver() {
LSInput input = resolver.resolveResource(null, null, "kees",
NON_EXISTING_RESOURCE, null);