We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e42b27 commit 482e060Copy full SHA for 482e060
exist-core/src/main/java/org/exist/source/SourceFactory.java
@@ -152,7 +152,7 @@ private static String firstPathSegment(final String path) {
152
}
153
154
private static Source getSource_fromClasspath(final String contextPath, final String location) throws IOException {
155
- if (location.startsWith(ClassLoaderSource.PROTOCOL)) {
+ if (contextPath == null || location.startsWith(ClassLoaderSource.PROTOCOL)) {
156
return new ClassLoaderSource(location);
157
158
0 commit comments