[Adium-devl] Bonjour and XMPP
Evan Schoenberg
evan at adiumx.com
Fri Mar 30 03:26:53 UTC 2007
On Mar 29, 2007, at 10:35 PM, Sean Egan wrote:
> Someone should try sending iChat some XMPP stanzas other than
> <message/> and see what happens. A good test would be to send iChat
> something like:
>
> <iq to='whatever' id='asdf' type='get'><foo xmlns='http://
> gaim.sf.net' /></iq>
>
> and see if iChat responds with an IQ error.
Well, on the one hand, iChat (version 3.1.7, which ships with OS X
10.4.8) replies:
<iq id="asdf" type="error"><error type="501">Client has no handler
for IQ type get namespace http://gaim.sf.net</error></iq>
Interestingly (to me -- is there a perfectly good reason for this?):
Send: <iq to=’10.0.1.105’ type=’get’><foo xmlns=’http://jabber.org/
protocol/disco#info’/></iq>
Response: <iq type="error"><error type="501">Client has no handler
for IQ type get namespace http://jabber.org/protocol/disco#info</
error></iq>
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).
What do you make of that?
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070329/88da7bf3/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/20070329/88da7bf3/attachment.sig>
More information about the devel
mailing list