ietf-openproxy
[Top] [All Lists]

RE: OCP message rendering

2003-10-08 13:05:02

On Wed, 8 Oct 2003, Martin Stecher wrote:

I am also not 100% sure. But such a character could then easily be
used to do a "Replace All". I hope that soft breaks in text will not
be needed often. But if we need to add, the example will not work
directly neither with CRLF nor with \CRLF. Easy transformation to
working code is a plus I think.

OK. I will document '\'.


I agree, that this is much nicer. But it will break many more
examples than soft line breaks.

But this only makes a difference for editors that allow selecting
multi-line blocks of text in the horizontal-middle of a page. With
most editors, cut-and-paste from an RFC text does not work anyway
because _all_ RFC text is indented, including any examples! Thus,
normally, a person would have to remove indentation from examples
anyway.

I think we either need to define in OCP that any number of TAB
characters are allowed after CRLF or forget about the indentation in
the text.

We could replace all existing CRLF in the BNF with NewLine and
define NewLine = CRLF *(TAB)  ; if TAB is the correct name for that char

It would have to be CRLF*(SP|HT) and it will slow down parsers a
little. I would vote against such syntax change.

I would prefer to separate rendering from the traffic on the wire once
and for all, but I do not want to make a big deal out of it. If nobody
else supports "nice rendering", I will abandon the idea until RFC
default format becomes something better than plain text.

Thanks,

Alex.


<Prev in Thread] Current Thread [Next in Thread>