> What extra hooks get called as a result of calling UseForeignDTD? Expat will invoke the ExternalEntityRefHandler with both pubid and sysid set to None, if there is no DOCTYPE declaration in the document. Regards, Martin