[Standards-JIG] Multiple groups question.
stpeter at jabber.org
Fri Feb 3 22:33:09 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Etan Reisner wrote:
> In working out a bug someone was seeing today we discovered that their
> roster had ended up with an item like this in it.
> <item jid='foo at example.com'
This scenario is not covered by any of the existing specs.
I would recommend that the client do a string compare on the group names
to make sure there are no duplicates; if there are duplicates, show the
item only once in that group.
I'd also recommend that the server should not accept a roster set with
duplicate groups (do the same string compare, return <bad-request/> if
there are duplicates).
Just because the group names are opaque doesn't mean the server and
client can't compare them. :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
More information about the Standards