@Override
  public void endEntity(final String name) {
    entityDepth--;
    if (entityDepth == 0) {
      // No way are we suppressing if not in an entity,
      // regardless of the "expand" value
      suppress = false;
    }
    if (name.equals("[dtd]")) {
      inInternalSubset = true;
    }
  }
@Override
  public void endEntity(final String name)