@Override
  public void canContainContent(Content child, int index, boolean replace) throws IllegalAddException {
    if (child instanceof DocType) {
      throw new IllegalAddException("A DocType is not allowed except at the document level");
    }
  }
@Override
  public void canContainContent(Content child, int index, boolean replace)