January 2002
Beginner
480 pages
13h 15m
English
The jabber:x:roster namespace is related to its big
brother, jabber:iq:roster; it is used to carry
roster information as message attachments. This makes it straightforward
for users to exchange contact information between themselves:
SEND: <message id='M91' to='shiels@jabber.org'>
<body>Hi Robert - this is that fool I was telling you about...</body>
<x xmlns='jabber:x:roster'>
<item jid='qmacro@jabber.org' name='DJ Adams'>
<group>Fools</group>
</item>
</x>
</message>
Note that it is inappropriate to send the subscription-related attributes
(subscription and ask, described
in Section 6.2.12). Instead, it is up
to the recipient to negotiate his own presence subscription arrangements
with the contact or contacts (more than one item can be sent in such an
attachment) listed.
Read now
Unlock full access