[jdev] Second-guessing dns for s2s
tomasz.sterna at gmail.com
Tue Oct 11 10:50:20 CDT 2005
2005/9/25, Johannes Fröhlich <johannes.froehlich at gmail.com>:
> I agree with Matt that it's a bummer how jids are constructed.
I do not agree. JIDs are constructed well and thoughtfully.
> But my suggestion
> would be to make it as consistant as possible for the user.
But you are suggesting to make it inconsistent instead. More on that later.
> I know that
> a jid is "username at server.net". And from this view I can browse for services on
> the server "server.net".
> My suggestion would be to list services like "server.net/service".
How is disco'ing "server.net/service" different form discoing "server.net"?
> A muc-room would be "server.net/muc/room" and
JIDs are not hierarchical. And putting "/" character in resource will
not make them so. ;-)
> a user using
> this mucroom would have the jid "user at server.net/muc/room" or
> just "user at server/room".
The RFC says that the resource is a property of bare JID.
In this case we are talking about bare JID of "user at server.net" and
its resource "muc/room".
Your proposal is to create a special case with different than normal semantics.
This is not a good idea IMO.
More information about the JDev