Martin v. Löwis <mar...@v.loewis.de> added the comment: > EntityResolver.resolveEntity() is called with the publicId and systemId as > arguments. It does not receive a locator.
Sure. But ContentHandler.setDocumentLocator receives it, and you are supposed to store it for the entire parse, to always know what entity is being processed if you want to. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2124> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com