Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ public IDocumentNodeItem resolveProfile(@NonNull File file) throws IOException,
protected IDocumentNodeItem resolveProfile(
@NonNull IDocumentNodeItem profileDocument,
@NonNull Stack<URI> importHistory) throws IOException, ProfileResolutionException {
return resolveProfile(profileDocument, importHistory, profileDocument.getBaseUri());
}

@NonNull
protected IDocumentNodeItem resolveProfile(
@NonNull IDocumentNodeItem profileDocument,
@NonNull Stack<URI> importHistory,
@NonNull URI resolvedCatalogUri) throws IOException, ProfileResolutionException {
Catalog resolvedCatalog = new Catalog();

generateMetadata(resolvedCatalog, profileDocument);
Expand All @@ -210,7 +218,7 @@ protected IDocumentNodeItem resolveProfile(
ObjectUtils.notNull(
(IAssemblyClassBinding) OscalBindingContext.instance().getClassBinding(Catalog.class))),
resolvedCatalog,
profileDocument.getBaseUri());
resolvedCatalogUri);
}

@NonNull
Expand Down