code: static String readNameAttribute(final XMLExtendedStreamReader reader) throws XMLStreamException {
          return readStringAttributeElement(reader, Attribute.NAME.getLocalName());
      }
docs: Reads the single {@code name} attribute from an element.
  
  @param reader the reader to use
  
  @return the value of the {@code name} attribute
  
  @throws XMLStreamException if the {@code name} attribute is not present, there is more than one attribute on the
  element or there is content within the element.