[Standards] XEP-0106: JID\20Escaping

Ian Paterson ian.paterson at clientside.co.uk
Mon Jun 4 15:35:46 UTC 2007

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)

- Ian

More information about the Standards mailing list