[Standards] XEP-0106: JID\20Escaping
Peter Saint-Andre
stpeter at jabber.org
Mon Jun 4 10:42:49 CDT 2007
Ian Paterson wrote:
> Peter Saint-Andre wrote:
>> Joe Hildebrand wrote:
>>> On Jun 3, 2007, at 1:39 PM, Ian Paterson wrote:
>>>
>>>> Peter Saint-Andre wrote:
>>>>> 3. A node identifier MUST NOT start with the string \20, which
>>>>> would be escaped to SP (" ") and therefore mess up transformations
>>>>> to numerous other systems (and probably also mess with users'
>>>>> heads). I think \20 is OK at the end of a node identifier but we
>>>>> might want to discourage that as well.
>>>>
>>>> Yes, we might want to discourage all whitespace characters at the
>>>> start or end of a node identifier (e.g., non-breaking spaces, tabs...).
>>>
>>> "Real" whitespace isn't allowed at all, and \20 is the only escaped
>>> whitespace that is permissible. Therefore, prohibiting \20 at the
>>> ends is sufficient.
>>
>> Correct.
>
> Yes, sorry, my bad.
>
> I guess I didn't understand why the Introduction of XEP-0106 says:
> "All whitespace characters (which reduce to U+0020, also called SP)"
>
> Instead of saying:
> U+0020 (<space> or SP)
I suppose that's an oblique reference to the nodeprep profile of
stringprep, which prohibits both ASCII space characters and non-ASCII
space characters as specified in Appendices C.1.1 and C.1.2 of RFC 3454.
Peter
--
Peter Saint-Andre
XMPP Standards Foundation
http://www.xmpp.org/xsf/people/stpeter.shtml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/standards/attachments/20070604/e5427bdb/smime.bin
More information about the Standards
mailing list