docs: private void parseValidators(BeanDefinitionBuilder builder, Element element) {
          ManagedList validators = new ManagedList();
          for (Element validator : DomUtils.getChildElementsByTagName(element, "validator")) {
  
              if (validator.hasAttribute("ref")) {
                  validators.add(new RuntimeBeanReference(validator.getAttribute("ref")));
              } else {
                  validators.add(BeanDefinitionBuilder.rootBeanDefinition(validator.getAttribute("class")).getBeanDefinition());
              }
          }
  
          if (!validators.isEmpty()) {
              builder.addPropertyValue("messageValidators", validators);
          }
      }