[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MMUSIC] whitespace after 's=' in SDP
--> hisham.khartabil@nokia.com writes:
>Is a whitespace allowed in the s= line of an SDP message?
Yes.
>from ABNF grammar:
>
>session-name-field = "s=" text CRLF
>
>; generic sub-rules: datatypes
>text = byte-string
>
>byte-string = 1*(%x01-09/%x0B-0C/%x0E-FF)
> ;any byte except NUL, CR or LF
>
>The space is %x20 so it can be included in any byte-string.
>Byte-sting 's= Some Text" should be valid.
>
>But the draft also mentions that "Whitespace MUST NOT be used either side of the `='
>sign"
Correct.
>So, is the grammar wrong? or is s= an exception? Are there any other exceptions?
I'd claim that the grammar is correct, in that you still have "<type>=<value>",
without spaces, but that in this case the <value> can include whitespace. Just
another wart, that can't be fixed without breaking compatibility.
Colin
_______________________________________________
mmusic mailing list
mmusic@ietf.org
https://www1.ietf.org/mailman/listinfo/mmusic