[JDEV] IQ Packets
Peter Saint-Andre
stpeter at jabber.org
Tue Nov 18 17:57:03 CST 2003
Precisely.
This is specified in the "Server Rules for Handling XML Stanzas" section
of XMPP-IM. Here is a URL that works today but may not work tomorrow:
http://www.jabber.org/ietf/draft-ietf-xmpp-im-19-candidate00.html#rules
Peter
On Tue, Nov 18, 2003 at 04:32:38PM -0700, Matthew A. Miller wrote:
> When sending <iq/> stanzas to a client, they must be addressed to the
> "full" JID (e.g. "foo at jabber.org/resouce"). In the case of clients,
> only providing a "bare" JID (e.g. "foo at jabber.org") 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='foo at jabber.org' from='from at jabber.org' id='1111'><loc
> >xmlns='http://jabber.org/protocol/geoloc'/></iq>
> >
> >shouldn't that get delivered to the JID foo at jabber.org, 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
> >
> >
More information about the JDev
mailing list