This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hda
Recipients hda
Date 2009-04-15.12:34:31
SpamBayes Score 0.0022079137
Marked as misclassified No
Message-id <1239798874.6.0.325655580097.issue5762@psf.upfronthosting.co.za>
In-reply-to
Content
[2009-04-15 17:53:10,198] ERROR:web-services:[19]:    
_write_data(writer, attrs[a_name].value)
[2009-04-15 17:53:10,198] ERROR:web-services:[20]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
305, in _write_data
[2009-04-15 17:53:10,199] ERROR:web-services:[21]:     data =
data.replace("&", "&amp;").replace("<", "&lt;")
[2009-04-15 17:53:10,199] ERROR:web-services:[22]: AttributeError:
'NoneType' object has no attribute 'replace'

_write_data dunction should be something like this
def _write_data(writer, data):
    "Writes datachars to writer."
    if data:
        data = data.replace("&", "&amp;").replace("<", "&lt;")
        data = data.replace("\"", "&quot;").replace(">", "&gt;")
        writer.write(data)
History
Date User Action Args
2009-04-15 12:34:34hdasetrecipients: + hda
2009-04-15 12:34:34hdasetmessageid: <1239798874.6.0.325655580097.issue5762@psf.upfronthosting.co.za>
2009-04-15 12:34:32hdalinkissue5762 messages
2009-04-15 12:34:31hdacreate