> I got around it by changing the deref function on DTDParser to also set > self.ent to None. Unless Lars Marius objects - would you like to commit that change to PyXML? Regards, Martin