Re: [xml2rfc-dev] RFC 7991 issue #37: Schema Issue, RFC 7991, In Section 2.12, <br>

Henrik Levkowetz <henrik@levkowetz.com> Thu, 04 October 2018 08:47 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: xml2rfc-dev@ietfa.amsl.com
Delivered-To: xml2rfc-dev@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10459130E07 for <xml2rfc-dev@ietfa.amsl.com>; Thu, 4 Oct 2018 01:47:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J6SQPSnaXTOV for <xml2rfc-dev@ietfa.amsl.com>; Thu, 4 Oct 2018 01:46:57 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFE8F130E01 for <xml2rfc-dev@ietf.org>; Thu, 4 Oct 2018 01:46:56 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:54055 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1g7zHb-0004BN-Of; Thu, 04 Oct 2018 01:46:56 -0700
To: Julian Reschke <julian.reschke@gmx.de>, Paul Hoffman <paul.hoffman@icann.org>, "xml2rfc-dev@ietf.org" <xml2rfc-dev@ietf.org>
References: <E1g6wQ8-00057n-85@durif.tools.ietf.org> <70ee4cff-7533-13e0-d71a-ffecf2dc56f0@gmx.de> <24828f94-dbbd-4c18-8d85-333487bda367@levkowetz.com> <3ac63652-2df2-03c7-eee6-bad2cbd326d8@levkowetz.com> <1BA3E011-CEB3-4F56-9CB5-599C6D2D8A5D@icann.org> <2a71916e-4704-ef8c-b9bb-0cda1781c706@levkowetz.com> <2a06b7c8-5a84-60eb-c96e-25d07c61d67f@gmx.de> <4b49045f-49d7-2b01-bb57-087f8e014e5b@levkowetz.com> <32ef6fd2-058a-c44a-5129-26cd22343943@gmx.de> <a3d0816e-6cc0-dd11-9370-b391e3e71010@levkowetz.com> <c122b751-119d-9a10-a2b6-af90b140cfc8@gmx.de> <6c9785df-73c0-78ff-0c69-1ea1b369b0e0@levkowetz.com> <766a8834-4e7a-e819-6b76-2682eb99be9e@gmx.de> <81f488c3-1caf-a7cc-dc38-c39b3ca2ba5a@levkowetz.com> <ff3ee47e-7c8e-5f83-55f9-a7c874b13de4@gmx.de>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <bb3fab0d-2ac5-22b2-dafa-3297790b9cc1@levkowetz.com>
Date: Thu, 04 Oct 2018 10:46:48 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <ff3ee47e-7c8e-5f83-55f9-a7c874b13de4@gmx.de>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="tvklTfMTahOFOVAR9RWmN6Mp7NFMNpUka"
X-SA-Exim-Connect-IP: 94.254.37.140
X-SA-Exim-Rcpt-To: xml2rfc-dev@ietf.org, paul.hoffman@icann.org, julian.reschke@gmx.de
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/S0X0TSd9UsutpW45Al6bqj4q0HM>
Subject: Re: [xml2rfc-dev] RFC 7991 issue #37: Schema Issue, RFC 7991, In Section 2.12, <br>
X-BeenThere: xml2rfc-dev@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion about particulars of xml2rfc V3 design, development and code." <xml2rfc-dev.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/>
List-Post: <mailto:xml2rfc-dev@ietf.org>
List-Help: <mailto:xml2rfc-dev-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Oct 2018 08:47:01 -0000

On 2018-10-04 08:42, Julian Reschke wrote:
> On 10/4/2018 1:48 AM, Henrik Levkowetz wrote:
>> .. >> Example, please?
>> 
>> Umm?  Take the table you pointed at, give each header cell rowspan="2",
>> except the cell(s) where you want a particular line break, and put the
>> first part in the first cell and the second part in the second cell.
> 
> That would require the table style to have little margins and no 
> horizontal lines.

Of course.  I said in the first release of the text formatter that the
current added horizontal lines would go away; they were there teporarily
to aid debugging of rowspan.

> (the lack of table styling features is another issue).

Agreed.

>> ... >> In the past, we have worked around that by using non-breaking spaces
>>> where we want to keep things together. I doubt that the same approach
>>> would work well in narrow table cells...
>> 
>> Why not?  There's no mathematical difference between the two cases.
> 
> Because then you'd get overflows when the cell gets narrower than the 
> longest character sequence that can't be broken. This is not an issue 
> for the doc title, because it has lots of room.

I think that in that case, you'd be getting a break at the point you'd
want without the insertion of a <br>.  It's definitely not the case for
the example you gave earlier; that can be handled just as well with the
use of non-breaking space.

However:

  1) would you agree that the use of non-breaking space would be a
     workaround, rather than a proper solution for document and
     section titles, as well as for table cells?

  2) <br> makes it much more convenient to get the desired layout in
     cells than using rowspan and cell-splitting?

  3) <br> would be better than the use of artwork in order to write
     RFC 1605, and probably other April 1st RFCs, too?

  4) Disallowing <br> in all cases except for table cells requires
     (repeatedly, to new author after new author), explaining that an
     obvious usage of an obvious element is forbidden in so-and-so
     case?

All in all, what do we really loose by permitting <br> more generally?

I certainly believe it would make life easier for a lot of authors, and
for the people who would not have to explain again and again why a draft
author cannot use <br> in _that_ particular title or text.



Best regards,

	Henrik