[Standards] JID Escaping

Greg Hudson ghudson at MIT.EDU
Wed Jul 25 15:42:02 UTC 2007


On Wed, 2007-07-25 at 10:02 +0530, Mridul Muralidharan wrote:
> As long as we have prohibited characters - and '@' is always going to be 
> there in node part, we will need escaping :-)

There's an underlying assumption here that JID nodes must be able to
contain, in their display representations, the verbatim identifiers from
any other system.

That's not true of email; why does it need to be true of XMPP?  If a JID
node can contain a "@" character in its display representation, there's
no nice way to display that JID safely to the user.
romeo at capulet.org@montague.org is perhaps unambiguous but is certainly
confusing.





More information about the Standards mailing list