On 2009/07/16, at 14:19, Fabio Forno wrote:
Some more thoughts, which are the business rules for accepting roster items? I explain with some cases: - in the main roster on the server we have jids coming from any domain
The main roster is under the client control, so I guess he decides what to put there.
- can rosters coming form separate services (each one with its own domain, e.g. msn.jabber.org) contain jids from other domains or only in the same domain ([email protected] yes, but not [email protected])? I prefer to restrict to the domain
I think it MUST be restricted to the domain. The [email protected] would become xpto\[email protected].
- what happens when the main roster contains jids in the same subdomain of the service? I'd say that all that entries should be ignored by the client
Not sure yet. I don't see this as causing problems to the XMPP network as a whole, and in those cases, i don't see the need to restrict something that might be used creatively by smart client authors.
- do we allow full jids export their own roster to other clients? I'd say no in the case, roster providers can be just domain jids.
I don't see a useful use case for having JIDs export roster items to another, but I also don't see what harm would it cause.
Best regards,
