URIStringUtils.splitURI returns root URI in non-standard format, so fix
it manually as a workaround. Otherwise ExternalEntities cannot be
created under the root resource.
refs #7299
Change-Id: Ie548eebba5c267617cb845df684b025b59c069f5
Collections.sort(missing);
for(String uri : missing) {
String[] parts = URIStringUtils.splitURI(uri);
+ // URIStringUtils.splitURI returns root URI in non-standard format, so fix it manually as a workaround
+ if (parts[0].equals("http://")) {
+ parts[0] = "http:/";
+ }
Resource parent = resolvedParents.get(parts[0]);
// TODO: proper exception message