Subject: Re: [Re: SEP vs. LWSP]

From: Tim Vetter <[email-masked]>
Date: Wed, 13 Oct 1999 14:17:46 -0500

My recommendation is to change SEP to
   SEP = 1*(WSP | COMMENT | EOL)

Production using LWSP would be changed to have [SEP]:
    megacoMessage = [SEP] [authenticationHeader SEP ] message
    INEQUAL = [SEP] (">" | "<" | "#" ) [SEP]
    LSBRKT  = [SEP] "[" [SEP]
    secondAction = requestedAction [SEP] [COLON [SEP]
           signalsDescriptor ] [COLON [SEP] InterceptToken ]
    observedEvent = [ TimeNotation [SEP] COLON] [SEP] signalRequest

This gets rid of the NULL production in LWSP and makes it clear
where white-space is optional.  As a side benefit, it gets
rid of the LWSP production.

Forwarded message:
> From [email-masked] Wed Oct 13 13:40:27 1999
> X-Mailer: USANET web-mailer (MaintM3.3.0.77)
> Mime-Version: 1.0
> Content-Type: text/plain; charset=US-ASCII
> Message-ID:  <[email-masked]>
> Date:         Wed, 13 Oct 1999 18:28:20 ASIA/TEL_AVIV
> Reply-To: Nissim Buskila <[email-masked]>
> Sender: "Media Gateway Control (megaco)"
>               <[email-masked]>
> From: Nissim Buskila <[email-masked]>
> Subject:      Re: [Re: SEP vs. LWSP]
> X-To:         Abdallah Rayhan <[email-masked]>
> To: [email-masked]
> Content-Transfer-Encoding: 8bit
> X-MIME-Autoconverted: from quoted-printable to 8bit by ssd.usa.alcatel.com id NAA25828
> Content-Length: 1377
>
> Well, I'm getting a little bit confused here. Suppose you have a sequence of 4
> spaces. Given that, LWSP will match (there are 4 spaces), as well as SEP will
> match (there are more than 1 spaces).
> How can you distinguish between LWSP and SEP???
>
> Nissim.
>
> "Abdallah Rayhan" <[email-masked]> wrote:
> >
> > The answer is yes, we need the two. There is difference between LWSP and
> SEP.
> > LWSP means zero or more space, and SEP is at least one space. Why at least
> one ?
> >
> > Because between authenticationHeader and message there is no separator.
> > You find separators in "=", ":" ,"}" ," {" , "," , etc. Between the header
> and
> > message
> > there is not one like that, therefore we need to insert the space to do it.
> > Otherwise you can not tell where the header ends and where the message
> starts.
> > Same thing applies to Version and mId.
> >
> > regards
> > Abdallah
> >
> > Nissim Buskila wrote:
> >
> > > Do we really need both the SEP and LWSP tokens??? The SEP token is only
> used
> > > twice in the whole ABNF. IMHO we need to consolidate them into a single
> > > token.
> > >
> > > Nissim.
> > >
> > > ____________________________________________________________________
> > > Get free email and a permanent address at http://www.netaddress.com/?N=1
>
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>