Hello Anil,

The values themselves, as specified in the grammar
can be of lower, upper or mixed case.

But the grammar itself cannot define whether things in the grammar
should be compared in a case-sensitive or case-insensitive
way. It can only define what values are allowed.

The required comparison of grammar constructs has to be described
outside of the grammar (like in the section you mentioned).

Regards,

Attila Sipos
Software Engineer 
www.vegastream.com <http://www.vegastream.com/> 



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: 26 October 2004 07:47
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: [Sip-implementors] Doubt regarding comparison of
> From-Tag,To-tag and Via-branch
> 
> 
> 
> 
> 
> 
> Hi All,
>             I have a doubt regarding comparison of From-Tag,To-tag and
> Via-branch for matching the transaction.
> While comparing the tags and branch parameters, whether the comparison
> should be case-sensitive or case-insensitive.
> In section 7.3.1 of RFC3261:-
>    "When comparing header fields, field names are always case-
>    insensitive.  Unless otherwise stated in the definition of a
>    particular header field, field values, parameter names, 
> and parameter
>    values are case-insensitive.  Tokens are always case-insensitive."
> 
> As per the grammar of From-tag and To-tag:-
> tag-param   =  "tag" EQUAL token
> and grammar of branch parameter of Via header is:-
> via-branch        =  "branch" EQUAL token
> 
> In the definition of From,To and Via headers, there is no 
> definition that
> the values should be case-sensitive.
> Does that mean that we should do case-insensitive comparison?
> Please confirm on this.
> 
> Regards
> Anil N
> 
> Hughes Software Systems (HSS)-  B'lore India
> Office Number: +91-80-51067074
> 
> ***********************  HSS-Private   ***********************
> "DISCLAIMER: This message is proprietary to Hughes Software 
> Systems Limited
> (HSS) and is intended solely for the use of the individual to 
> whom it is
> addressed. It may contain  privileged or confidential information and
> should not be circulated or used for any purpose other than 
> for what it is
> intended. If you have received this message in error, please 
> notify the
> originator immediately. If you are not the intended recipient, you are
> notified that you are strictly prohibited from using, 
> copying, altering, or
> disclosing the contents of this message. HSS accepts no 
> responsibility for
> loss or damage arising from the use of the information 
> transmitted by this
> email including damage from virus."
> 
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
> 

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to