New submission from Gunnar Aastrand Grimnes <[email protected]>:
The startElementNS method in the XMLGenerator ignores the encoding set.
it does:
self._out.write(' xmlns:%s="%s"' % (prefix, uri))
whereas it should have done:
self._write(' xmlns:%s="%s"' % (prefix, uri))
Issue 938076 was similar to this, but for a different method.
----------
components: XML
messages: 131863
nosy: gromgull
priority: normal
severity: normal
status: open
title: startElementNS in xml.sax.saxutils.XMLGenerator ignored encoding
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com