docs: public static XMLStreamException unexpectedAttribute(final XMLExtendedStreamReader reader, final int index) {
          final XMLStreamException ex = ControllerLogger.ROOT_LOGGER.unexpectedAttribute(reader.getAttributeName(index), reader.getLocation());
  
          return new XMLStreamValidationException(ex.getMessage(),
                                                  ValidationError.from(ex, ErrorType.UNEXPECTED_ATTRIBUTE)
                                                          .element(reader.getName())
                                                          .attribute(reader.getAttributeName(index)),
                                                  ex);
      }