char c = readCh(); white = (c == ' ' || c == '\t' || c == '\n' || c == '\r');
int c = readCh(); while (c == -1 && inputStack.size() > 1) { popInput(); c = readCh(); } white = (c == 0x20 || c == 0x09 || c == 0x0a || c == 0x0d);
  private boolean tryWhitespace()    throws IOException, XMLStreamException  {    boolean white;    boolean ret = false;    do      {        mark(1);        char c = readCh();        white = (c == ' ' || c == '\t' || c == '\n' || c == '\r');        if (white)          ret = true;        else if (c == '\uffff')          {            if (inputStack.size() > 1)              popInput();            else          throw new EOFException();      }      }    while (white);    reset();    return ret;  }