if (scheme == null) {
throw new /*ProcessUri*/Exception( String.format("uri [%s] is invalid!", String.valueOf(uri) ));
}
final String source = uri.getRawSchemeSpecificPart();
final String path =  uri.getRawPath();
<BUG>final boolean isMarkdown = (path !=null && path.endsWith(".md"));
java.io.InputStream result = null;</BUG>
if ("classpath".equalsIgnoreCase(scheme)) {
ClassLoader cl = Thread.currentThread().getContextClassLoader();
result = cl.getResourceAsStream(source);

if (scheme == null) {
throw new /*ProcessUri*/Exception( String.format("uri [%s] is invalid!", String.valueOf(uri) ));
}
final String source = uri.getRawSchemeSpecificPart();
final String path =  uri.getRawPath();
final boolean isMarkdown = (path !=null && path.endsWith(".md"));
final boolean isStorage = (path !=null && (path.endsWith(".xml") || path.endsWith(".xhtml")));
final Storage.Representation representation = (isStorage) ? Storage.Representation.STORAGE : Storage.Representation.WIKI;
java.io.InputStream result = null;
if ("classpath".equalsIgnoreCase(scheme)) {
ClassLoader cl = Thread.currentThread().getContextClassLoader();
result = cl.getResourceAsStream(source);
