From 49cd2a7bbdcaec660025d24ec0ef5e44cdabecdb Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 1 Dec 2023 16:56:45 +1100 Subject: [PATCH] actually validate web source in validator --- .../src/main/java/org/hl7/fhir/validation/ValidatorUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidatorUtils.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidatorUtils.java index b989ae189..4a74e4f24 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidatorUtils.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidatorUtils.java @@ -23,12 +23,12 @@ import org.hl7.fhir.convertors.loaders.loaderR5.R5ToR5Loader; import org.hl7.fhir.convertors.loaders.loaderR5.R6ToR5Loader; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.r5.context.SimpleWorkerContext; +import org.hl7.fhir.r5.fhirpath.FHIRPathEngine; import org.hl7.fhir.r5.model.OperationOutcome; import org.hl7.fhir.r5.renderers.RendererFactory; import org.hl7.fhir.r5.renderers.utils.RenderingContext; import org.hl7.fhir.r5.renderers.utils.RenderingContext.GenerationRules; import org.hl7.fhir.r5.utils.EOperationOutcome; -import org.hl7.fhir.r5.utils.FHIRPathEngine; import org.hl7.fhir.r5.utils.OperationOutcomeUtilities; import org.hl7.fhir.utilities.ByteProvider; import org.hl7.fhir.utilities.Utilities; @@ -163,6 +163,7 @@ public class ValidatorUtils { if (Common.isNetworkPath(name)) { SourceFile src = addSourceFile(refs, name); src.date = Long.MAX_VALUE; + src.process = true; } else if (Common.isWildcardPath(name)) { AsteriskFilter filter = new AsteriskFilter(name); File[] files = new File(filter.getDir()).listFiles(filter);