Diff for wddx.py for comment and null support

m h <[email protected]>
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Hello all-

I just joined the list.  I recently (today) had to parse WDDX in
python.  In order to get it to work I had to patch wddx.py
accordingly:

197,198d196
<         'comment': (None, None),
<         'null': ('um_start_null', 'um_end_null'),
212,216d209
<     def um_start_null(self, name, attr):
<         pass
<     def um_end_null(self, name):
<         self.data_stack.append(None)
<

Don't know if anyone else is using wddx or even interested, but I
thought I'd share the diff.

matt

_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.