code: def _validate(self, inst: "InstanceNode", scope: ValidationScope,
                    ctype: ContentType) -> None:
          
          if isinstance(inst, ArrayEntry):
              super()._validate(inst, scope, ctype)
          else:
              if scope.value & ValidationScope.semantics.value:
                  self._check_list_props(inst)
                  self._check_cardinality(inst)
              for e in inst:
                  super()._validate(e, scope, ctype)
docs: Extend the superclass method.