From: Evan S. <ev...@ad...> - 2007-03-30 03:27:05
|
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 |