[JDEV] Missing nodes in IQ result
David Waite
mass at akuma.org
Fri Jan 11 18:15:57 CST 2002
Are you using JabberBeans? It ignores all data which is not valid within the
Jabber protocol.
-David Waite
----- Original Message -----
From: "Peter Gebauer" <peter at restamus.org>
To: <jdev at jabber.org>
Sent: Friday, January 11, 2002 5:32 AM
Subject: [JDEV] Missing nodes in IQ result
> Hey there.
>
> I have a loadable module that I use for testing only, it's only purpouse
> is to send a timestamp from the server to the client upon request.
>
> This is the XML generated by the module as it is described by logging
> using xmlnode2str:
> <iq to='test at coke/Test' type='result' id='2' from='test.coke'><query
> xmlns='test:systime'><systime>test</systime></query></iq>
>
> The client receives the IQ result with NS and everything intact, except
> the <systime> node which is included in the return IQ.
>
> I create the answer manually for better testing control. I use the
> xmlnode_* functions to create the node (and subnodes) and finally:
>
> deliver(dpacket_new(xml_iq), test_t->i);
>
> where xml_iq is the node and subnodes. As mentioned before, logging this
> node using xmlnode2tstr(xml_iq) produces above written XML data.
>
> Why is it not included in the clients received packet?
>
> /P
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list