code: @SuppressWarnings("cast")
  	protected final int getNextAfterWS()
          throws XMLStreamException
      {
          if (mInputPtr >= mInputEnd) {
              if (!loadMore()) {
                  return -1;
              }
          }
          char c = mInputBuffer[mInputPtr++];
          while (c <= CHAR_SPACE) {
              // Linefeed?
              if (c == '\n' || c == '\r') {
                  skipCRLF(c);
              } else if (c != CHAR_SPACE && c != '\t') {
                  throwInvalidSpace(c);
              }
              // Still a white space?
              if (mInputPtr >= mInputEnd) {
                  if (!loadMore()) {
                      return -1;
                  }
              }
              c = mInputBuffer[mInputPtr++];
          }
          return (int) c;
      }
docs: Method that will skip through zero or more white space characters,
  and return either the character following white space, or -1 to
  indicate EOF (end of the outermost input source)/