code: private ManagedList<RuntimeBeanReference> constructRuntimeBeanReferences(
              ParserContext parserContext,
              List<Element> schemaElements) {
  
          ManagedList<RuntimeBeanReference> runtimeBeanReferences = new ManagedList<>();
  
          for (Element schemaElement : schemaElements) {
              if (schemaElement.hasAttribute(SCHEMA)) {
                  runtimeBeanReferences.add(
                          new RuntimeBeanReference(schemaElement.getAttribute(SCHEMA)));
              } else  {
                  schemaParser.parse(schemaElement, parserContext);
                  runtimeBeanReferences.add(
                          new RuntimeBeanReference(schemaElement.getAttribute(ID)));
              }
          }
  
          return runtimeBeanReferences;
      }
docs: Construct a List of RuntimeBeanReferences from the given list of schema elements under
  consideration of the given parser context
  @param parserContext The context to parse the elements in
  @param schemaElements The element to be parsed
  @return A list of RuntimeBeanReferences that have been defined in the xml document