xml.sax feature question

Martin v. Löwis martin at v.loewis.de
Sun Oct 26 08:47:15 EST 2003


christof hoeke <csad7 at yahoo.com> writes:

> exactly what i was looking for, thanks a lot. still i wonder why the
> above error happens.

It appears that the standard entity resolver is

class EntityResolver:
    def resolveEntity(self, publicId, systemId):
        return systemId

So it just returns the system ID, instead of taking a base URL into
account. I'm uncertain whether this is a limitation of PyXML, or SAX
in general.

Regards,
Martin




More information about the Python-list mailing list