[XML-SIG] Problem with 0.6.1's sax.writer

Lars Marius Garshol larsga@garshol.priv.no
10 Nov 2000 12:53:53 +0100

* Johann Visagie
| PyXML 0.6.1's sax.writer repeatedly calls xml.utils.escape(), which
| results in an AttributeError.
| This can seemingly be fixed by replacing them with calls to
| xml.sax.saxutils.escape()
| Is this an error, or am I misinterpreting things?

You are right in that the function has moved, though whether that was
deliberate or a mistake I am not sure. Personally I feel that the
function does not belong at all in saxutils, but it might be that this
was done because of the Python 2.0 bundling issues.

--Lars M.