char separator;
int separator; ElementContentModel model = new ElementContentModel();
  private void readElements(StringBuffer acc)    throws IOException, XMLStreamException  {    char separator;        // Parse first content particle    skipWhitespace();    readContentParticle(acc);    // End or separator    skipWhitespace();    char c = readCh();    switch (c)      {      case ')':        acc.append(')');        mark(1);        c = readCh();        switch (c)          {          case '*':          case '+':          case '?':            acc.append(c);            break;          default:            reset();          }        return; // done      case ',':      case '|':        separator = c;        acc.append(c);        break;      default:        error("bad separator in content model", new Character(c));        return;      }    // Parse subsequent content particles    while (true)      {        skipWhitespace();        readContentParticle(acc);        skipWhitespace();        c = readCh();        if (c == ')')          {            acc.append(')');            break;          }        else if (c != separator)          {            error("bad separator in content model", new Character(c));            return;          }        else          acc.append(c);      }    // Check for occurrence indicator    mark(1);    c = readCh();    switch (c)      {      case '?':      case '*':      case '+':        acc.append(c);        return;      default:        reset();        return;      }  }