ietf-822
[Top] [All Lists]

text/paragraph or wrap=yes/no

1998-03-12 13:46:57
The problem we are trying to solve is the conflict between the following
facts:

(A) Inserting line breaks into text/plain may damage the data, and thus
needs to be avoided.  In particular, it destroys ascii-art as well as
long lines with "hard" rather than "soft" line breaks.

(B) People generate paragraph-based text which is intended to have line
breaks inserted.

(C) An agent which assumes text/plain will display correctly on an
80-column terminal with no wrapping of any sort is standards compliant.

IETF tradition dictates that we don't break compliant software and we
don't damage data.  Applying these facts to the two proposals results
in the following:

(1) Create new text/paragraph media type.
Pros:
 * Only change is software class (B) has to use a new label
 * Has no impact on (C) since it is a separate media type
Cons:
 * Results in inability to display text on some non-conformant products

(2) Add a "wrap=yes/no" parameter to text/plain
Pros:
 * All UIs will display text in one way or another
Cons:
 * Due to (C) compatibility problem, an additional "MUST be able to
   generate `wrap=no' text suitable for 80-column display, and SHOULD do
   so by default" rule has to be added.  This may be a significant change
   to software in class (B).

I think either (1) or (2) is a significant improvement to the status quo,
so I'll go along with either.

                - Chris