Re: [xml2rfc-dev] [Ext] Re: [xml2rfc] [Rfc-markdown] <br> is back, was: New xml2rfc release: v2.32.0

Henrik Levkowetz <henrik@levkowetz.com> Tue, 08 October 2019 21:28 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 23B4D120046 for <xml2rfc-dev@ietfa.amsl.com>; Tue, 8 Oct 2019 14:28:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.096
X-Spam-Level:
X-Spam-Status: No, score=-1.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01] autolearn=no 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 O3q9y2HXROZT for <xml2rfc-dev@ietfa.amsl.com>; Tue, 8 Oct 2019 14:28:29 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (unknown [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 73A78120033 for <xml2rfc-dev@ietf.org>; Tue, 8 Oct 2019 14:28:29 -0700 (PDT)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:51498 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 1iHx1w-000456-E4; Tue, 08 Oct 2019 14:28:29 -0700
To: Paul Hoffman <paul.hoffman@icann.org>, "xml2rfc-dev@ietf.org" <xml2rfc-dev@ietf.org>, Sandy Ginoza <sginoza@amsl.com>
References: <E1iGMu9-00055y-Ui@durif.tools.ietf.org> <8304e61d-c550-91ea-9e23-eef2cd31240b@gmx.de> <A3513970-EEB0-4DBD-9E6F-A87EBFAF886D@att.com> <de4feaff-8f71-cd38-545c-2d848749251b@levkowetz.com> <f00a671a-6fe4-f5ae-2582-0b78ffa1c256@gmx.de> <1f18382c-d830-b887-f5d3-3f376ae4fdd7@gmx.de> <B15F7AF0-F5A0-401A-9F6E-F7E0E466B6A7@amsl.com> <f4f1b7ba-127a-fbfa-531b-eeff03814281@gmx.de> <71bc8d39-d06c-d900-cc8e-04a48218d75f@gmail.com> <0905DADC-E9D5-47A7-B610-F8A62686D2BD@att.com> <07DBAE10-D1FA-45C4-B7A2-321B265CA302@amsl.com> <c88388ff-84ae-c5f5-e093-e9aee77da3d6@levkowetz.com> <5f467e5a-200f-e7fd-94d6-8b04d863c7e2@icann.org> <b3c2d77e-d28e-3b3e-8fe7-88c91104410d@levkowetz.com> <cfdfe489-8a37-7792-35d4-8ae244fbce0d@icann.org>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <0d0efd73-f8ba-4a05-eafb-4fd56e25869d@levkowetz.com>
Date: Tue, 08 Oct 2019 23:28:20 +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: <cfdfe489-8a37-7792-35d4-8ae244fbce0d@icann.org>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="88fGItbr47R0BQnLaASADs6BugHP3OxPV"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: sginoza@amsl.com, xml2rfc-dev@ietf.org, paul.hoffman@icann.org
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/3XqtVCiHvWhihZ1-4-9iBiZwA2Q>
Subject: Re: [xml2rfc-dev] [Ext] Re: [xml2rfc] [Rfc-markdown] <br> is back, was: New xml2rfc release: v2.32.0
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: Tue, 08 Oct 2019 21:28:30 -0000

On 2019-10-08 23:08, Paul Hoffman wrote:
> On 10/8/19 10:51 AM, Henrik Levkowetz wrote:
>> So that removes dt, em, strong, title and tt.
> 
> Another way to look at this is to say "it does not include them in a new design".

My point was simply to list the ones we didn't agree on.  Does this really
need a quibble?

>> <title> is one of the cases the RPC already ran into, so eliminating that
>> from the list will leave one of their cases unhandled.
> 
> I agree with Julian: putting <br> in a title for various reasons can
> cause various bad side-effects.

Yes, well, there's a need here.  I tried to say that already a year ago.

> Sandy: Can you tell the group what the specific need that the RPC saw
> for <br> in <title>? 
>   
>> The case I made in the original issue #37 still holds:  Limiting <br> too
>> strongly will result in a lot of surprises for authors, when they expect
>> to be able to use <br/>, but the validation fails.  I think this is
>> applicable for em, strong, and tt.
> 
> There is literally no way to avoid surprises for authors in v3, or in
> v2. Document formatting always has surprises.

That doesn't mean we should do it harder than it needs to be.  We should
try to consider the needs of the users, not only principles of the design.

>> Additionally, the case Sandy mentioned where the author wanted a piece of
>> text set on two lines is very likely to come up for <tt>, so not permitting
>> <br> there seems wrong.
> 
> <t>
> <tt>This is the first line</tt><br>
> <tt>This is the second line</tt>
> </t>
> .... is exactly the right semantics for what a line break is meant to do.

I'm sorry, but I really cannot see how that is more pure and right than

 <t>
   <tt>
      This is the first line<br/>
      This is the second line
   </tt>
 </t>

I think this is very much a difference in the eye of the beholder.

>   
>> As for dt, it will have similar issues as <title> and <name>.  
> 
> It will also have the same problems.
> 
>> It will only
>> become an issue when the RPC runs into a case where there's a long <dt>
>> text which doesn't display well without <br>.
> 
> This is not about "display well", it is about semantics. One of the
> overarching goals of the v3 work was to have semantically sensible
> long-lived documents that can be displayed in a variety of formats on
> a variety of types of displays.

Unfortunately, a complete semantic model for what RFC authors might want
to express in an RFC would be so complex that we'd probably never complete
it.  Providing escape hatches that lets authors generate text that
communicates their ideas is more important than sticking to a restricting
semantic model for unbounded semantic content.

>> I think the right thing, both for the RPC and authors in general, is to have
>> <br> available everywhere they might end up using it, rather than restricting
>> it too strongly.
> 
> We should hear directly from the RPC about their needs. Also, none of
> us in this conversation are good representatives of typical authors
> of RFCs because we are already too familiar with v2 and v3 and XML
> and so on.

I'm very happy that in this round of comments more people have expressed
a viewpoint than in the previous round.


	Henrik