Subject: [Sip] Accept header grammar problem

From: "Sachin Shenoy" <[email-masked]>
Date: Thu, 10 Oct 2002 12:26:17 +0530

Hi,

According to the RFC 3261 accept header grammar has...

accept-range = media-range *(SEMI accept-param)

media-range = ( "*/*"

   / ( m-type SLASH "*" )

   / ( m-type SLASH m-subtype )

   ) *( SEMI m-parameter )

accept-param = ("q" EQUAL qvalue) / generic-param

generic-param = token [ EQUAL gen-value ]

gen-value = token / host / quoted-string

m-parameter = m-attribute EQUAL m-value

m-attribute = token

m-value = token / quoted-string

I think there would be an ambiguity between the "accept-param" in "accept-range" & 

"m-parameter" in "media-range". Cause both are separated by SEMI's. 

How do we resolve this?

Thanks

Sachin