mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 09:29:13 +00:00
don't walk into nested bundles when validating links in bundles
This commit is contained in:
parent
a94b41add8
commit
a51c3f96ad
@ -851,7 +851,10 @@ public class BundleValidator extends BaseValidator {
|
||||
if (ref != null && !ref.startsWith("#") && !hasReference(ref, references))
|
||||
references.add(new StringWithSource(ref, child, true, isNLLink(start)));
|
||||
}
|
||||
findReferences(child, references);
|
||||
// don't walk into a sub-bundle
|
||||
if (!"Bundle".equals(child.fhirType())) {
|
||||
findReferences(child, references);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user