doctype.addElementDecl(elementName, "ANY");
doctype.addElementDecl(elementName, "ANY", new AnyContentModel());
  private void readContentspec(String elementName)    throws IOException, XMLStreamException  {    if (tryRead("EMPTY"))      doctype.addElementDecl(elementName, "EMPTY");    else if (tryRead("ANY"))      doctype.addElementDecl(elementName, "ANY");    else      {        StringBuffer acc = new StringBuffer();        require('(');        acc.append('(');        skipWhitespace();        if (tryRead("#PCDATA"))          {            // mixed content            acc.append("#PCDATA");            skipWhitespace();            if (tryRead(')'))              {                acc.append(")*");                tryRead('*');              }            else              {                while (!tryRead(")"))                  {                    require('|');                    acc.append('|');                    skipWhitespace();                    acc.append(readNmtoken(true));                    skipWhitespace();                  }                require('*');                acc.append(")*");              }          }        else          readElements(acc);        doctype.addElementDecl(elementName, acc.toString());      }  }