When sending <iq/> stanzas to a client, they must be addressed to the "full" JID (e.g. "[EMAIL PROTECTED]/resouce"). In the case of clients, only providing a "bare" JID (e.g. "[EMAIL PROTECTED]") attempts to query that user's server for the requested information (IIRC).

Since the namespace is unknown to the server, it looks up that user's public storage (not sure if that's documented anywhere, but it behaves similarly to "iq:private") (again, IIRC).


- LW


Stephen Pendleton wrote:

Question regarding IQ packet behavior:

If I send an IQ packet like:

<iq type='get' to='[EMAIL PROTECTED]' from='[EMAIL PROTECTED]' id='1111'><loc
xmlns='http://jabber.org/protocol/geoloc'/></iq>

shouldn't that get delivered to the JID [EMAIL PROTECTED], even if the server
doesn't support the GEOLOC jep (0080)? It never seems to get delivered to
the JID, but the server sends an empty reponse.

Thanks,
Stephen



_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



_______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev

Reply via email to