docs: private void readServerElement_1_0(final XMLExtendedStreamReader reader, final ModelNode address, final List<ModelNode> list)
              throws XMLStreamException {
  
          parseNamespaces(reader, address, list);
  
          ModelNode serverName = null;
  
          // attributes
          final int count = reader.getAttributeCount();
          for (int i = 0; i < count; i++) {
              switch (Namespace.forUri(reader.getAttributeNamespace(i))) {
                  case NONE: {
                      final String value = reader.getAttributeValue(i);
                      final Attribute attribute = Attribute.forName(reader.getAttributeLocalName(i));
                      switch (attribute) {
                          case NAME: {
                              serverName = ServerRootResourceDefinition.NAME.parse(value, reader);
                              break;
                          }
                          default:
                              throw unexpectedAttribute(reader, i);
                      }
                      break;
                  }
                  case XML_SCHEMA_INSTANCE: {
                      switch (Attribute.forName(reader.getAttributeLocalName(i))) {
                          case SCHEMA_LOCATION: {
                              parseSchemaLocations(reader, address, list, i);
                              break;
                          }
                          case NO_NAMESPACE_SCHEMA_LOCATION: {
                              // todo, jeez
                              break;
                          }
                          default: {
                              throw unexpectedAttribute(reader, i);
                          }
                      }
                      break;
                  }
                  default:
                      throw unexpectedAttribute(reader, i);
              }
          }
  
          setServerName(address, list, serverName);
  
          // elements - sequence
  
          Element element = nextElement(reader, DOMAIN_1_0);
          if (element == Element.EXTENSIONS) {
              extensionHandler.parseExtensions(reader, address, DOMAIN_1_0, list);
              deferredExtensionContext.load();
              element = nextElement(reader, DOMAIN_1_0);
          }
          // System properties
          if (element == Element.SYSTEM_PROPERTIES) {
              parseSystemProperties(reader, address, DOMAIN_1_0, list, true);
              element = nextElement(reader, DOMAIN_1_0);
          }
          if (element == Element.PATHS) {
              parsePaths(reader, address, DOMAIN_1_0, list, true);
              element = nextElement(reader, DOMAIN_1_0);
          }
  
          if (element == Element.MANAGEMENT) {
              ManagementXml managementXml = ManagementXml.newInstance(DOMAIN_1_0, this, false);
              managementXml.parseManagement(reader, address, list, false);
              element = nextElement(reader, DOMAIN_1_0);
          }
  
          // Single profile
          if (element == Element.PROFILE) {
              parseServerProfile(reader, address, list);
              element = nextElement(reader, DOMAIN_1_0);
          }
  
          // Interfaces
          final Set<String> interfaceNames = new HashSet<String>();
          if (element == Element.INTERFACES) {
              parseInterfaces(reader, interfaceNames, address, DOMAIN_1_0, list, true);
              element = nextElement(reader, DOMAIN_1_0);
          }
          // Single socket binding group
          if (element == Element.SOCKET_BINDING_GROUP) {
              parseSocketBindingGroup_1_0(reader, interfaceNames, address, list);
              element = nextElement(reader, DOMAIN_1_0);
          }
          if (element == Element.DEPLOYMENTS) {
              parseDeployments(reader, address, DOMAIN_1_0, list, EnumSet.of(Attribute.NAME, Attribute.RUNTIME_NAME, Attribute.ENABLED),
                      EnumSet.of(Element.CONTENT, Element.FS_ARCHIVE, Element.FS_EXPLODED), true);
              element = nextElement(reader, DOMAIN_1_0);
          }
  
          if (element != null) {
              throw unexpectedElement(reader);
          }
      }