From 213cd931f94ad217ebc96f03f967c90841f78716 Mon Sep 17 00:00:00 2001 From: Stefan Otto Date: Fri, 30 Jun 2023 17:20:37 +0200 Subject: [PATCH] Update ValidationEngine.java --- .../src/main/java/org/hl7/fhir/validation/ValidationEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java index 1ce754b47..5fd3288e1 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java @@ -584,7 +584,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP // available for other resources to depend on. if it fails to load, there'll be an error if there's // something that should've been loaded for (SourceFile ref : refs) { - if (ref.isProcess() || all) { + if (ref.isProcess() || all && !ref.isKnownToBeMissing()) { ref.setCnt(igLoader.loadContent(ref.getRef(), "validate", false, first)); if (loader != null && ref.getCnt() != null) { try {