// the build system / project root.
String relPath = publicId.substring(SOURCE_ROOT_PUBLIC_ID_PREFIX.length());
if (!"".equals(relPath) && !relPath.startsWith("/")) {
// convert URI path to local file system conventions
FileRef file = fileSystem.getRoot().join(relPath);
alertSink.add(new EntityResolvedNotification(pos, publicId, file.toFilename()));
return file.openInputStream();
}
}
throw unresolved(pos, publicId, systemId, null);