Subject: Re: Is there a bug in RFC 2327 (SDP) ?

From: Mark Handley <[email-masked]>
Date: Thu, 20 Jul 2000 09:33:31 -0700

------- Forwarded Message

From: Mark Handley <[email-masked]>
X-Organisation: ACIRI
To: [email-masked]
Subject: Re: Is there a bug in RFC 2327 (SDP) ? 
In-reply-to: Your message of "Thu, 20 Jul 2000 16:00:38 +0530."
             <[email-masked]> 
Date: Thu, 20 Jul 2000 09:30:17 -0700
Message-ID: <[email-masked]>
Sender: [email-masked]

Arjun Roychowdhury writes:
>I had a doubt abt the SDP grammar listed in Appendix A of RFC 2327 (SDP)
>dated Apr 1998
>
>The grammar shows:
>
>announcement = time-fields
>time-fields  = 1*( "t=" start-time space stop-time
>                *(CRLF repeat-fields) CRLF)
>                 [zone-adjustments CRLF]
>
>zone-adjustments =    time space ["-"] typed-time
>                         *(space time space ["-"] typed-time)
>
>Using above, you could construct a line like
>
>t=0 0
>1 222222222 - 11d
>
>shouldnt there be a z= token before the 2nd line ?
>Or is this intentional ?

You're quite correct - this is an error in the spec.  The main body of
the spec gives the correct syntax:

I think the ABNF for zone-adjustments should read:

zone-adjustments =    "z=" time space ["-"] typed-time
                         *(space time space ["-"] typed-time)

Thanks for pointing this out - we need to correct this before SDP
moves to draft standard.

Cheers,
	Mark

------- End of Forwarded Message