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…
Reference in New Issue