code: private void registerXmlSchemaRepository(Element element, ParserContext parserContext) {
          BeanDefinitionBuilder builder = BeanDefinitionBuilder.genericBeanDefinition(XsdSchemaRepository.class);
          BeanDefinitionParserUtils.setPropertyReference(builder, element.getAttribute("schema-mapping-strategy"), "schemaMappingStrategy");
          addLocationsToBuilder(element, builder);
          parseSchemasElement(element, builder, parserContext);
          parserContext.getRegistry().registerBeanDefinition(element.getAttribute(ID), builder.getBeanDefinition());
      }
docs: Registers a XsdSchemaRepository definition in the parser context
  @param element The element to be converted into a XmlSchemaRepository definition
  @param parserContext The parser context to add the definitions to