docs: public static XMLStreamException unexpectedAttribute(final XMLStreamReader reader, final int index) {
          return new XMLStreamException("Unexpected attribute '" + reader.getAttributeName(index) + "' encountered",
                  reader.getLocation());
      }