June 3, 2007
4:24 p.m.
Hi, Itamar Shtull-Trauring wrote:
Right now, AFAICT, is is on by default in lxml.etree.XMLParser. Network queries by library code are a bad idea: it's an unexpected behavior, causing potential security risk and guaranteed performance problems.
It's straight forward to switch it off, but I agree that it would be good to have it disabled by default. Loading DTDs is off by default also, so that fits. We should change the default behaviour for 2.0. Stefan