[Standards] JID Escaping
matben at privat.utfors.se
Thu Jul 19 12:30:11 UTC 2007
While implementing XEP-0106: JID Escaping I got puzzled.
Consider the following unescaped JID which a user may input:
mats at home.se/coci at home.se/mats at home.se/coci
The question is to apply escaping on the node part as defined in the XEP
but first it must be separated into node+domain+resource parts.
However, I see three ways to do this:
resource: coci at home.se/mats at home.se/coci
resource: mats at home.se/coci
The key is that it is impossible to identify the "real" "@".
More information about the Standards