JID case sensitivity
alexmv at bestpractical.com
Fri Mar 27 00:03:42 UTC 2009
On Thu, 2009-03-26 at 16:25 -0700, Martin Atkins wrote:
> Can you reference the specific section of the spec you're referring to?
A node identifier MUST be formatted such that the Nodeprep
profile of [STRINGPREP] can be applied without failing. Before
comparing two node identifiers, a server MUST (and a client
SHOULD) first apply the Nodeprep profile to each identifier.
..defines the Nodeprep Stringprep type, which includes Table b.2
in its mapping table. Table B.2 defines case folding for Unicode
in the KC normalization.
Domain names apply Nameprep, which also specifies Table B.2 for
mappings, and are hence case-folded. Note that resources
identifiers (which use Resourceprep) do _not_ apply Table B.2,
and are thus case sensitive.
More information about the Djabberd