[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MMUSIC] A bug in SDP Syntax (CRLF)?
--> Federico Montesino Pouzols writes:
> Hello everyone,
>
> draft-ietf-mmusic-sdp-new-10.txt, Section 6, says:
>
> "The sequence CRLF (0x0d0a) is used to end a record, although
>parsers SHOULD be tolerant and also accept records terminated with a
>single newline character."
>
> However, if we look at each and every line definition in the
>ABNF syntax in appendix A, all lines must end with CRLF, defined in
>RFC 2234 as:
>
> CRLF = CR LF
>
> CR = %d13
>
> LF = %x0A
>
> An implementor would have to choose between strictly
>applying the ABNF or being tolerant with single LFs.
>
> Should not -at least- a note be added to the ABNF clarifying
>this exception?
No. A correct implementation will use CRLF in all cases, and the ABNF
reflects this. Using a single LF to terminate lines is a bug.
Colin
_______________________________________________
mmusic mailing list
mmusic@ietf.org
https://www1.ietf.org/mailman/listinfo/mmusic