if (!inDTD) throw new SAXException("external entity decl outside DTD");
  public void externalEntityDecl(String name, String publicId, String systemId)    throws SAXException  {    if (interrupted)      {        return;      }    DomDoctype doctype = (DomDoctype) ctx;    Entity entity = doctype.declareEntity(name, publicId, systemId, null);  }