On 12 Jun 2001, Deepak Mohan wrote:
> Bryan,
> 1. Component does not have a default value.
yes.
> 2. Component is present only in ONE of the URLs to be compared.
yes.
> So, the urls do not match.
That is not how I read the last sentence:
> Components not
> found in both URLs being compared, for which there is no default value,
> are ignored.
I don't understand "ignored" to mean "not match", i understand it to
mean "act as if that component is not in either URL".
Eg: I am comparing sip:[EMAIL PROTECTED] and sip:example.com . In this
case, the user field is not found in both URLs, and user has no default
value. Thus, the user field it is to be ignored. the resulting URLs
(after "ignoring" the user field) are sip:example.com and sip:example.com,
which are equal.
I don't disagree that this is nonintuitive--that's why I flagged it.
>
> Regards,
> Deepak
>
>
> ------------- Original Message --------------
> BRYAN OGAWA <[EMAIL PROTECTED]> wrote:
> To:[EMAIL PROTECTED]
> From:BRYAN OGAWA <[EMAIL PROTECTED]>
> Date:Mon, 11 Jun 2001 16:17:07 -0700 (PDT)
> Subject: [Sip-implementors] missing User and URL Comparison in bis-03
>
>
> in the bis-03 draft, the following paragraph was added to section 2.1:
>
> user or telephone-subscriber, password, host, port and any url-parameter
> parameters of the URI must match. If a component is omitted, it matches
> based on its default value. (For example, otherwise equivalent URLs
> without a port specification and with port 5060 match.) Components not
> found in both URLs being compared, for which there is no default value,
> are ignored.
>
> The first time I read this paragraph, I was left with the notion that
> since user is optional, and does not have a default value, the last
> sentence would be in effect, e.g.
>
> sip:example.com
>
> and
>
> sip:[EMAIL PROTECTED]
>
> match.
>
> This might not be considered the most obvious result, and probably
> should be flagged if it is true.
>
>
--
Bryan K. Ogawa <[EMAIL PROTECTED]> http://www.vovida.org/
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors