]> granicus.if.org Git - python/commit
Make sure XMLGenerator uses quoteattr() instead of escape() to quote
authorFred Drake <fdrake@acm.org>
Tue, 7 Aug 2001 19:14:46 +0000 (19:14 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 7 Aug 2001 19:14:46 +0000 (19:14 +0000)
commitdad91dd1e90222cfae4543eb290e2b2fa99192c2
tree9982a888d19d88a0b6ce6bd7bec00b29d50e3e68
parent288cd2cb69dc61d3fe1b18564d62ddb280a6568a
Make sure XMLGenerator uses quoteattr() instead of escape() to quote
attribute values.  Just using escape() can (and always has) led to broken
XML being generated.  This makes sure it always produces the right thing.

This actually closes SF bug #440351.
Lib/xml/sax/saxutils.py