Fix issue with pattern test :-(

This commit is contained in:
Grahame Grieve 2024-11-22 09:24:04 +11:00
parent 8cd18aae93
commit ffbbc498f7
2 changed files with 2 additions and 2 deletions

View File

@ -3307,7 +3307,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
return (T) scs.getCs();
}
} else {
throw new Error("Not supported");
throw new Error("Not supported: doFindTxResource with type of "+class_.getName());
}
}

View File

@ -471,7 +471,7 @@ public class StructureDefinitionValidator extends BaseValidator {
if (VersionUtilities.isR5Plus(context.getVersion())) {
warning(errors, "2024-11-06", IssueType.BUSINESSRULE, dStack, !"pattern".equals(type), I18nConstants.SD_PATH_SLICING_DEPRECATED_R5, type);
} else {
hint(errors, "2024-11-06", IssueType.BUSINESSRULE, dStack, ! !"pattern".equals(type), I18nConstants.SD_PATH_SLICING_DEPRECATED, type);
hint(errors, "2024-11-06", IssueType.BUSINESSRULE, dStack, !"pattern".equals(type), I18nConstants.SD_PATH_SLICING_DEPRECATED, type);
}
String pathExp = discriminator.getNamedChildValue("path");
if (ted != null) {