The ABNF you provided is equivalent to:
( "0" ( "." DIGIT{,3} )? ) | ( "1" ( "." "0"{,3} )? ) and this mean that both 
"q=0." and "q=1."  OK.

--- En date de : Jeu 18.3.10, Brett Tate <[email protected]> a écrit :

De: Brett Tate <[email protected]>
Objet: Re: [Sip-implementors] Query on qvalue in SIP headers
À: "Brez Borland" <[email protected]>, "prashanth.me" 
<[email protected]>, "sip-implementors" 
<[email protected]>
Date: Jeudi 18 mars 2010, 16h09

The BNF strangely appears to allow the dot without any following digits.

> -----Original Message-----
> From: [email protected] [mailto:sip-
> [email protected]] On Behalf Of Brez Borland
> Sent: Thursday, March 18, 2010 11:07 AM
> To: prashanth.me
> Cc: sip-implementors
> Subject: Re: [Sip-implementors] Query on qvalue in SIP headers
> 
> Hi Prashanth,
> 
> I think dot is an "optional", and it should be present only if it is
> followed by digits.
> 
> 
> Regards,
> 
> Brez
> 
> On Thu, Mar 18, 2010 at 2:58 PM, prashanth.me
> <[email protected]> wrote:
> > Hi,
> >
> > As per ABNF Grammar of the 'preference' parameter
> > ------------------------
> > preference    =    "q" EQUAL
> > <http://www.tech-invite.com/Ti-abnf-sip.html#delim> qvalue
> > <http://www.tech-invite.com/Ti-abnf-sip-hf.html#qvalue>
> > qvalue          =    ("0" [ "." 0*3DIGIT
> > <http://www.tech-invite.com/Ti-abnf.html#core> ] )
> >                          / ( "1" [ "." 0*3("0") ] )
> > ------------------------
> >
> > Are the below 'qvaule' correct?
> > ------
> > ;q=0.
> > ;q=1.
> > ------
> >    I mean, shall dot come without any digits followed by?


_______________________________________________
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

Reply via email to