[Standards] Reg MUC Roomname

Thanik thani7k at gmail.com
Wed Jul 2 06:33:33 UTC 2008


Hi,

Thank u very much for the reply.
One more query, whether the id attribute in xmpp stanzas is case sensitive
or not.
Please clarify my doubt.

Regards
Thanik

On Wed, Jul 2, 2008 at 3:40 AM, Peter Saint-Andre <stpeter at stpeter.im>
wrote:

> Michal 'vorner' Vaner wrote:
>
>> Hello
>>
>> On Mon, Jun 30, 2008 at 09:29:03PM +0530, Thanik wrote:
>>
>>> Can someone clarify whether the roomname in MUC is case sensitive or not?
>>>
>>
> The concept of "case sensitive" applies only to US-ASCII -- or at least it
> does not apply to all UTF-8 characters. Stringprep uses the concept of "case
> folding" instead.
>
>  Also clarify whether the following attributes are case sensitive or not?
>>> 1) Transaction ID (TID)
>>>
>>
>> Where's that thing from?
>>
>
> Maybe the 'id' attribute?
>
>  2) Username in JID
>>>
>>
>> Case insensitive (see nodeprep profile). Or, it is close-to case
>> insensitive, it also considers other similar-looking characters as the
>> same (like roman number four and IV).
>>
>
> Right, but even stringprep doesn't help you with that AFAIK.
>
>  3) Room User Nickname
>>>
>>
>> Case sensitive, as it is JID resource, it goes trough resourceprep.
>>
>
> Correct. Some people find that confusing, though, because "vorner" is a
> different person than "Vorner" (etc.).
>
>  4) Room Name
>>>
>>
>> Case insensitive ‒ it is node part (username) of JID.
>>
>
> Correct.
>
>  5) PrivacyList Name
>>>
>>
> Unspecified. :(
>
> I think we'd apply resourceprep to determine matching. But that needs to be
> added to XEP-0016.
>
>  6) Group Name of a Roster Item.
>>>
>>
> According to section 2.3.2 of draft-saintandre-rfc3921bis, duplicate groups
> are determined using the Resourceprep profile of stringprep.
>
> I think that could be called out more prominently in the spec, so I'll fix
> that in the next version.
>
>  I don't know, try looking which stringpreps and rules apply to them (in
>> XMPP-IM).
>>
>>> In specification they have not mentioned anything about this.
>>>
>>
>> They do, it is just well hidden ;-)
>>
>
> :)
>
> Peter
>



-- 
"Keep away from small people who try to belittle your ambitions.
Small people always do that, but the really great make you feel
that you, too, can become great."

*Mark Twain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20080702/9455a7f5/attachment.html>


More information about the Standards mailing list