[XML-SIG] empty EntityResolver for SAX
csad7 at t-online.de
Tue Dec 23 12:27:02 EST 2003
(the following description is a bit convoluted, sorry about that. i hope
you understand it anyway...)
i thought of providing an empty EntityResolver to my parse function that
if i encounter xml files with DTDs in them these will not be processed.
def resolveEntity(self, publicId, systemId):
p = xml.sax.make_parser()
i could use
of course but i thought something like the above might be better for my
my problem now is that something like
does not work. only the above with the dummy empty.txt file needs to be
is there a simpler way of returning an empty InputSource?
thanks a lot
More information about the XML-SIG