[IronPython] fepy's expat.py with xmpp?

Doug Blank doug.blank at gmail.com
Mon Jan 31 22:14:47 CET 2011


FYI, I ended up avoiding the whole issue by replacing both python-xmpp
and pyexpat with a stand-alone open source XMPP library, agsXMPP. It
works quite nicely, especially with the xmppd.py server, on all
platforms.

-Doug

On Sat, Jan 29, 2011 at 5:48 PM, Douglas Blank <dblank at brynmawr.edu> wrote:
> Anyone have any luck using fepy's pyexpat.py managed code replacement with
> xmpp.py on IronPython?
>
> I'm having some trouble getting the xmpp client to talk to the xmppd
> server, even though the CPython version works fine. About the only
> difference, I think, is pyexpat.py.
>
> In fepy's pyexpat, I don't understand how:
>
>    def Parse(self, data, isfinal=False):
>        self._data.append(data)
>        if isfinal:
>            data = "".join(self._data)
>            self._data = None
>            self._parse(data)
>
> will do any parsing until later, but I'm pretty sure that the CPython
> version starts parsing right away.
>
> Am I missing something obvious? Any pointers appreciated!
>
> -Doug
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



More information about the Ironpython-users mailing list