def setEntityResolver(self, resolver):
        self._ent_handler = resolver
Translate a diff file into something suitable for inclusion in HDF.
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/xml/sax/xmlreader.py/XMLReader.setEntityResolver--crossover with--dataset/ETHPy150Open edgewall/trac/trac/mimeview/patch.py/PatchRenderer._diff_to_hdf