docs: @Override
      public void readElement(XMLExtendedStreamReader reader, List<ModelNode> list) throws XMLStreamException {
          // no attributes
          requireNoAttributes(reader);
  
          final ModelNode address = new ModelNode();
          address.add(ModelDescriptionConstants.SUBSYSTEM, DeploymentScannerExtension.SUBSYSTEM_NAME);
          address.protect();
  
          final ModelNode subsystem = new ModelNode();
          subsystem.get(OP).set(ADD);
          subsystem.get(OP_ADDR).set(address);
          list.add(subsystem);
  
          // elements
          while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
              switch (Namespace.forUri(reader.getNamespaceURI())) {
                  case DEPLOYMENT_SCANNER_1_0:
                  case DEPLOYMENT_SCANNER_1_1:
                  case DEPLOYMENT_SCANNER_2_0: {
                      final String element = reader.getLocalName();
                      switch (element) {
                          case DEPLOYMENT_SCANNER: {
                              //noinspection unchecked
                              parseScanner(reader, address, list);
                              break;
                          }
                          default:
                              throw unexpectedElement(reader);
                      }
                      break;
                  }
                  default:
                      throw unexpectedElement(reader);
              }
          }
      }