docs: public static void requireNoContent(final XMLStreamReader reader) throws XMLStreamException {
          if (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
              throw unexpectedElement(reader);
          }
      }