Add support for using xml:lang values.

Support is only for adding literal XML content
to stanzas. Full support for things like multiple
message bodies with different xml:lang values is
still in the works.
This commit is contained in:
Lance Stout
2010-12-07 23:07:40 -05:00
parent defc252c7d
commit f474d378ef
5 changed files with 41 additions and 8 deletions

View File

@@ -192,7 +192,7 @@ class XMLStream(object):
self.send_queue = queue.Queue()
self.scheduler = Scheduler(self.event_queue, self.stop)
self.namespace_map = {}
self.namespace_map = {StanzaBase.xml_ns: 'xml'}
self.__thread = {}
self.__root_stanza = []