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 12:13 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 7500413126D for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 05:13:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] 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 xwpcunb7qxdY for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 05:13:27 -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 74226131029 for <xml2rfc-dev@ietf.org>; Wed, 3 Oct 2018 05:13:27 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:62668 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 1g7g1u-0002yD-Mp; Wed, 03 Oct 2018 05:13:27 -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>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <a3d0816e-6cc0-dd11-9370-b391e3e71010@levkowetz.com>
Date: Wed, 03 Oct 2018 14:13:19 +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: <32ef6fd2-058a-c44a-5129-26cd22343943@gmx.de>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="1iIL7MOevW4DIWf45EEGeaeXghnQ6N4BB"
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/s_wZMJt66iie4JtaJzdRxvqJjJI>
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 12:13:30 -0000

On 2018-10-03 13:58, Julian Reschke wrote:
> On 10/3/2018 1:49 PM, Henrik Levkowetz wrote:
>> ...
>>> How did you arrive at 30?
>> 
>> That's an arbitrary choice.  Insert your choice of width, and remember
>> that when rendering body text to html on a small device, the case could
>> be similar to the case for a table cell.
> 
> While that is true for narrow screens (smart phone), it's not really a 
> good argument in this context: you don't want to have an *enforced* line 
> break - it would affect "regular" rendering as well.
> 
>>> Table cells can get very narrow, like just a few characters, and in that
>>> case it can be desirable to control line breaks.
>> 
>> No, it doesn't help the argument that you repeat the statement.
>> 
>> I seriously want to be shown examples where <br> makes sense in a cell
>> and not in body text.
>> ...
> 
> <https://greenbytes.de/tech/webdav/rfc2629xslt/v3test.xml#n-rfc-7541> is 
> an example copied from a real table in an RFC (which back then used 
> <artwork> though).

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?

>>> FWIW, HTML5 *allows* <br> in many places, but says clearly that it's
>>> only to be used when the line break has semantic meaning, such as in a poem.
>> 
>> But doesn't that approach make more sense that the current limitation?
> 
> Well, the examples given in the HTML spec do not seem to occur in RFCs 
> normally (poems, line breaks in addresses, for which we have other 
> notation).

So the conclusion would be to eliminate <br>, then ...

>> Please note that my suggestion was to either remove <br> altogether, or
>> permit it in inline context consistently.  I don't care that much about
>> which choice we make, but I still haven't seen any concrete example that
>> shows why it makes sense to disallow it in one context, and not the other.
> 
> My concern is that when people can't get the table output they want, 
> they'll fall back to artwork, which isn't helpful. See 
> <https://greenbytes.de/tech/webdav/rfc7541.html#huffman.code>.

Understood.  I still don't see the problem with permitting <br> generally --
the argument about going to artwork has some validity also for body text
if people can't get the output they want.


Best,

	Henrik