[Adium-devl] Bonjour and XMPP
Evan Schoenberg
evan at adiumx.com
Fri Mar 30 04:39:50 UTC 2007
On Mar 29, 2007, at 11:43 PM, Sean Egan wrote:
> On 3/29/07, Evan Schoenberg <evan at adiumx.com> wrote:
>> But try something that I think oughta be valid:
>> Send: xml <iq to='10.0.1.105' type='get'><query
>> xmlns='http://jabber.org/protocol/disco#info'/></iq>
>> Response: 0 bytes, which libezv normally treats as "connection
>> closed" (and
>> perhaps properly so).
>
> <iq/> stanzas MUST have an id attribute. Try adding one and see
> what happens.
I get the same 0-byte response with:
<iq to='10.0.1.105' id='asdf' type='get'><query xmlns=’http://
gaim.sf.net’/></iq>
and
<iq to='10.0.1.105' id='asdf' type='get'><query xmlns=’http://
jabber.org/protocol/disco#info’/></iq>
In both cases, iChat reports that the remote user (the one who sent
the XML) left, then reports that it left.
When sending blantantly invalid strings directly, it behaves the
exact same way; for example, the following:
<message to="10.0.1.105"><body>foo</body></invalid>
(whereas replacing that </invalid> with </message> works just fine)
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070330/3f1c3da7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070330/3f1c3da7/attachment.sig>
More information about the devel
mailing list