code: private String doCompile(String resourceLocation) throws IndexingFailure,
              ResourceDownloadError {
          final ResolvedResource resolved =
                  resourceCache.resolveResource(NAMESPACES, resourceLocation);
          final File resourceCopy = resolved.getCacheResourceCopy();
          namespaceIndexerService.indexNamespace(
                  resourceLocation, resolved.getCacheResourceCopy());
  
          final String indexPath = asPath(resourceCopy.getParent(),
                  NAMESPACE_ROOT_DIRECTORY_NAME, NS_INDEX_FILE_NAME);
          return indexPath;
      }
docs: Do compilation of the namespace resource.
  
  @param resourceLocation {@link String}, the resource location to compile
  @throws IndexingFailure Thrown if an error occurred while indexing
  @throws ResourceDownloadError Thrown if an error occurred downloading
  resource