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

Henrik Levkowetz <henrik@levkowetz.com> Wed, 03 October 2018 23:48 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 A2F2212F295 for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 16:48:45 -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 grRj60re8sJP for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 16:48:43 -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 DFECD130DC3 for <xml2rfc-dev@ietf.org>; Wed, 3 Oct 2018 16:48:43 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:65442 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 1g7qsk-0001hg-Ky; Wed, 03 Oct 2018 16:48:43 -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>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <81f488c3-1caf-a7cc-dc38-c39b3ca2ba5a@levkowetz.com>
Date: Thu, 04 Oct 2018 01:48:28 +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: <766a8834-4e7a-e819-6b76-2682eb99be9e@gmx.de>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="VON00q1p44OGc664PnkowruWimbb6wcVN"
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/3Qp8o3GbbsbSSJ9aFokIorp8nPs>
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: Wed, 03 Oct 2018 23:48:46 -0000

On 2018-10-03 17:08, Julian Reschke wrote:
> On 10/3/2018 2:53 PM, Henrik Levkowetz wrote:
>> Hi Julian,
>> 
>> On 2018-10-03 14:19, Julian Reschke wrote:
>>> On 10/3/2018 2:13 PM, Henrik Levkowetz wrote:
>>>> ...
>>>> Yes, I've run that through the current text processor, and I particularly
>>>> looked at it when working on table rendering.
>>>>
>>>> Where is it you need <br> to make this come out right?
>>>
>>> In the titles, at least if we want to reproduce what the RFC has.
>> 
>> Thank you for that.  It provides much better understanding of the case
>> which prompted the introduction of <br>.
>> 
>> Now, the new v3 feature which cost absolutely most extra work to
>> implement, by far, was the addition of table rowspan capability.
> 
> I feel your pain.
> 
>> If it really is imperative to break a column title in one particular
>> place (and I agree it may be desirable) then why can't it be handled
>> by using rowspan for the other header cells, and two cells for the
>> particular column title that needs to be broken in a controlled manner?
> 
> 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.

>> And second, why is this a concern in a column header, and not, for instance
>> in the document title?
>> 
>> This is the result of a too long document title today (an actual example
>> as rendered by the v3 text renderer):
>> 
>> ---
>> Network Working Group                                       H. Levkowetz
>> Internet-Draft                                              Elf Tools AB
>> Intended status: Informational                            3 October 2018
>> Expires: 6 April 2019
>> 
>> 
>>         Implementation notes for RFC7991, "The 'xml2rfc' Version 3
>>                                Vocabulary"
>>             draft-levkowetz-xml2rfc-v3-implementation-notes-04
> 
> 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.

>> ...
>>> That is true, but I'm prepared to argue that if they want to enforce a
>>> line break in running text, they are doing something wrong.
>> 
>> But can we be so sure of that, that it's right to enforce the current
>> limitation?  Had you thought of the case of a document title, above?
> 
> Yes.

Ok, good.  In that case I really don't understand why <br> wasn't provided
for document titles (and section titles, too, where I've also come across
similar issues for long titles).  

>> Might there not be other cases?  Maybe it would be better to permit it,
>> and maybe (at least in some cases) issue a warning?
> 
> Or we can wait for this to become an issue.

No, the chance we have to get this right is now.  We have a first iteration,
and thanks for all the work that went into it, but let's now polish it
based on explicit experience, to make it even better.

> We *could* analyze the set of RFC XML source documents for where vspace 
> is currently used.

Yes, that would provide additional meaningful data.


Best regards,

	Henrik