I agree with Robert.
The following is a more direct answer to your specific question.
Brett Tate wrote:
> Greetings,
>
> Concerning rfc3261 and rfc4485 usage of gen-value and quoted-string, are
> the quotes considered part of the value during use?
>
> Since I didn't notice a good example within rfc3261, I'll ask more
> specifically concerning the forbidden draft-levy-sip-diversion. :)
>
> diversion-reason = "reason" "=" ( ... | "deflection" | ... | token |
> quoted-string )
>
> Notice that unquoted deflection is a reason value and that quoted-string
> is also possible. If a device uselessly or erroneously sends
> reason="deflection" instead of reason=deflection does "deflection" have
> the same meaning as deflection? More specifically if a device sends
> reason="deflection", are the quotes considered an error or useless based
> upon the rfc4485, rfc3261, and ABNF?
In the above, "deflection" in the *rule* means that the rule will match
a sequence of characters that match the string "deflection" (without the
quotes) is a case insensitive way. The quoted-string part of the rule
will match "deflection" *with* the quotes.
So the rule will match a message containing deflection with or without
quotes. I don't have the draft in front of me, so I don't know if there
is a semantic difference between the two.
It is really in the realm of the draft that includes the BNF to say what
these mean.
Paul
> If the answer mentioned within an rfc (excluding strict upon send and
> lenient upon receive paradigm), please also provide indicate the
> reference.
>
> Concerning rfc3261's display-name, some vendors render the quotes to
> user and others don't. I didn't notice rfc3261 indicating to de-quote
> the display-name.
>
> Concerning auth stuff like realm, the rfc explicitly indicates when
> de-quote is needed.
>
> Thanks,
> Brett
>
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors