Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveregger committed Sep 10, 2024
1 parent 38153a4 commit d6c2034
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4369,7 +4369,7 @@ private List<ElementDefinition> getCriteriaForDiscriminator(String path, Element
StructureDefinition sd = context.fetchResource(StructureDefinition.class, p.getValue(), profile);
// PATCH: https://github.com/ahdis/matchbox/issues/138 try to check if it is a cross version extension
if (sd == null) {
sd = getXverExt(new ArrayList<ValidationMessage>(), "", null, p.getValue());
sd = getXverExt(new ArrayList<ValidationMessage>(), path, new Element("profile"), p.getValue());
}
if (sd == null)
throw new DefinitionException(context.formatMessage(I18nConstants.SD_ED_TYPE_PROFILE_UNKNOWN, p));
Expand Down

0 comments on commit d6c2034

Please sign in to comment.