Received: from localhost by CS.UTK.EDU with SMTP (cf v2.9s-UTK) id QAA16090; Mon, 11 Mar 1996 16:08:21 -0500 Received: by CS.UTK.EDU (bulk_mailer v1.4); Mon, 11 Mar 1996 16:07:52 -0500 Received: from wilma.cs.utk.edu by CS.UTK.EDU with ESMTP (cf v2.9s-UTK) id QAA16052; Mon, 11 Mar 1996 16:07:50 -0500 Received: from LOCALHOST by wilma.cs.utk.edu with SMTP (cf v2.11c-UTK) id QAA22282; Mon, 11 Mar 1996 16:07:49 -0500 Message-Id: <199603112107.QAA22282@wilma.cs.utk.edu> X-Mailer: exmh version 1.6.5 12/11/95 X-URI: http://www.cs.utk.edu/~moore/ From: Keith Moore To: John Gardiner Myers cc: drums@cs.utk.edu, moore@cs.utk.edu Subject: Re: Free insertion of linear-white-space In-reply-to: Your message of "Mon, 11 Mar 1996 13:14:13 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 11 Mar 1996 16:07:43 -0500 Sender: moore@cs.utk.edu > I don't see how the free insertion rule in 3.1.4 could reasonably be > interpreted to apply to anything but structured field bodies. Adding > emphasis: > > To aid in the creation and reading OF STRUCTURED FIELDS, the > free insertion of linear-white-space (which permits folding > by inclusion of CRLFs) is allowed between lexical tokens. > Rather than obscuring the syntax specifications FOR THESE > STRUCTURED FIELDS with explicit syntax for this linear-white- > space, the existence of another "lexical" analyzer is assumed. > This analyzer does not apply for unstructured field bodies > that are simply strings of text, as described above. The > analyzer provides an interpretation of the unfolded text > COMPOSING THE BODY OF THE FIELD as a sequence of lexical sym- > bols. > > But anyway, instead of arguing how to interpret this dark corner of > 822, why don't we take the practical approach. Existing > implementations don't generate whitespace between the field-name and > colon and many existing implementations can't handle whitespace > between the field-name and colon. Same thing goes for whitespace > inside the domain. Along more general lines, I'd like to see the 822 grammar very clearly indicate what is and is not a structured field. The current definition (whether something is *text or not) is buried within the text and can easily be missed. If this means explicitly adding tokens to the grammar that indicate where white-space and/or comments can be inserted...well, that's ugly, but at least it's unambiguous. If someone can figure out a better way, fine. But the 822 ABNF gets used both for cases where white space and comments are legal between tokens and for cases where they are not legal, and having to specify which case is which in text is getting to be a pain. -------- Take the pledge! "I do not limit my speech to satisfy the whims of Congress."