Closed jtravan3 closed 4 years ago
I discovered the issue. I was using the Schematron validator which, according to the documentation, is not recommended for r5 resources. https://hapifhir.io/hapi-fhir/docs/validation/schema_validator.html Sorry about that!
Describe the bug I'm using the HAPI FHIR framework to validate FHIR resources. I just recently added the r5 support but now I'm getting an error stating
Schema not found
.Below is my
pom.xml
dependencies. I upgraded to HAPI version 4.0.3.The code that is blowing up when running
mvn clean install
isThe line that calls
validateWithResult
is what causes the issue. I think it fails when it tries to load/org/hl7/fhir/r5/model/extension/extension-definitions.xml
. I have similar code for each version (dstu2, dstu3, r4, and r5) and they load everything fine on the build.Any help?
Expected behavior Successful build.
Environment (please complete the following information):