[standards-jig] JEP-0045 (MUC) number of users

Jacek Konieczny jajcus at bnet.pl
Thu Feb 12 07:37:52 UTC 2004

On Tue, Feb 10, 2004 at 01:53:05AM -0000, Ian Paterson wrote:
> The solution would be to include a user count in the disco#items response:
> <iq type='result'
>     from='macbeth.shakespeare.lit'
>     to='hag66 at shakespeare.lit/pda'>
>   <query xmlns='http://jabber.org/protocol/disco#items'>
>     <item jid='heath at macbeth.shakespeare.lit'
>         name='A Lonely Heath'
>         occupants='50'/>
>     <item jid='darkcave at macbeth.shakespeare.lit'
>         name='A Dark Cave'
>         occupants='1'/>
>    </query>
> </iq>

This is illegal use of 'http://jabber.org/protocol/disco#items'
namespace. This namespace doesn't contain "occupants" attribute for
<item/> element!
Number of accupants could be included in "name" attribute of the item,
or in "name" attribute of some subnode.


More information about the Standards mailing list