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

Paul Hoffman <paul.hoffman@icann.org> Tue, 08 October 2019 21:08 UTC

Return-Path: <paul.hoffman@icann.org>
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 85E9C12004C for <xml2rfc-dev@ietfa.amsl.com>; Tue, 8 Oct 2019 14:08:11 -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, SPF_HELO_NONE=0.001, SPF_PASS=-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 Zd9sef0XbuMJ for <xml2rfc-dev@ietfa.amsl.com>; Tue, 8 Oct 2019 14:08:09 -0700 (PDT)
Received: from ppa3.lax.icann.org (ppa3.lax.icann.org [192.0.33.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D5C1120046 for <xml2rfc-dev@ietf.org>; Tue, 8 Oct 2019 14:08:09 -0700 (PDT)
Received: from PFE112-CA-2.pexch112.icann.org (out.west.pexch112.icann.org [64.78.40.10]) by ppa3.lax.icann.org (8.16.0.27/8.16.0.27) with ESMTPS id x98L85Ut013837 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 8 Oct 2019 21:08:06 GMT
Received: from PMBX112-W1-CA-1.pexch112.icann.org (64.78.40.21) by PMBX112-W1-CA-2.pexch112.icann.org (64.78.40.23) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 8 Oct 2019 14:08:04 -0700
Received: from PMBX112-W1-CA-1.pexch112.icann.org ([64.78.40.21]) by PMBX112-W1-CA-1.PEXCH112.ICANN.ORG ([64.78.40.21]) with mapi id 15.00.1497.000; Tue, 8 Oct 2019 14:08:03 -0700
From: Paul Hoffman <paul.hoffman@icann.org>
To: "xml2rfc-dev@ietf.org" <xml2rfc-dev@ietf.org>, Sandy Ginoza <sginoza@amsl.com>
Thread-Topic: [xml2rfc-dev] [Ext] Re: [xml2rfc] [Rfc-markdown] <br> is back, was: New xml2rfc release: v2.32.0
Thread-Index: AQHVfgEV2PhDe2M1vkyX+sqaoQdmN6dRsluA
Date: Tue, 08 Oct 2019 21:08:03 +0000
Message-ID: <cfdfe489-8a37-7792-35d4-8ae244fbce0d@icann.org>
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>
In-Reply-To: <b3c2d77e-d28e-3b3e-8fe7-88c91104410d@levkowetz.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.1.1
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [192.0.32.234]
x-source-routing-agent: Processed
Content-Type: text/plain; charset="utf-8"
Content-ID: <DE8E20727D8A604FBC1053B0FCA1F30D@pexch112.icann.org>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-10-08_08:, , signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/DfxAFD5MI3HNehrew23AJGXimiI>
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:08:12 -0000

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".
  
> <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.

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.

> 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.
  
> 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.

> 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.

--Paul Hoffman