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

Julian Reschke <julian.reschke@gmx.de> Tue, 05 November 2019 20:09 UTC

Return-Path: <julian.reschke@gmx.de>
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 B4A84120B28 for <xml2rfc-dev@ietfa.amsl.com>; Tue, 5 Nov 2019 12:09:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 Cre8DZEu-asS for <xml2rfc-dev@ietfa.amsl.com>; Tue, 5 Nov 2019 12:09:11 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E801120B1B for <xml2rfc-dev@ietf.org>; Tue, 5 Nov 2019 12:09:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1572984533; bh=FLqe5CVKv2ugBeKJC3F05L86h/DskjYEyAukp2PaI38=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=D8zKwXYSrIQw4GNV5pxD8PHKK1j468vK7W/waOmOLeBQutRNwuM1JHhg/BnR9D5De XTBZGl+TzL6rDouAJVB1d0xXaUcg4iJoBBTYGr5lAYTz0VsJg6atWwwnaZobP3X4Hd 61IhZ23+3X96I7J64pPtjWGY2pFAlFZWHmrUHyK4=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([84.171.149.133]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MJE6F-1iCtdG2P87-00Kg6U; Tue, 05 Nov 2019 21:08:53 +0100
To: Heather Flanagan <rse@rfc-editor.org>
Cc: Henrik Levkowetz <henrik@levkowetz.com>, "xml2rfc-dev@ietf.org" <xml2rfc-dev@ietf.org>
References: <E1iGMu9-00055y-Ui@durif.tools.ietf.org> <d53ef90e-5a50-1472-a61e-12c7a417ac44@icann.org> <b19cd7de-6992-a3b5-ea23-929627018cc0@gmx.de> <019a4a58-ca92-0497-1155-303fba341241@gmx.de> <FB3B5D3A-2AFF-4ACE-BD71-D9EE2F9A4908@tzi.org> <4911a729-648a-a6c7-e673-4dd0fc0cadac@levkowetz.com> <908decb8-c24c-238d-2e27-982aa587d321@gmx.de> <0f5b5e73-bcca-0ff5-570d-c1622891dcf8@gmx.de> <703F1E91-C9E0-42BD-927C-D0D65D8CF7B0@rfc-editor.org> <6723154e-9bf1-d8ce-c8bd-a681fec1de5a@gmx.de> <D1535E4D-A260-477E-AF44-720C28801768@rfc-editor.org> <c551753e-7b28-0284-3ef8-bba884ea44f2@gmx.de> <6EAF86F8-C32F-434E-87ED-9E66043CC989@rfc-editor.org> <6c67abbc-542d-f734-d462-658ae8ad0820@levkowetz.com> <a6da4e7f-d82b-8c65-9ff6-477fd0d475bf@gmx.de> <B55B4594-3381-44D8-AE88-57453C418DA5@rfc-editor.org> <951cb208-e942-6b60-ce51-3629a4320e5b@gmx.de> <4B6CDE05-0712-4287-B9DB-953169D2C218@rfc-editor.org> <ba571a31-5853-cb2e-4ed1-2efabdff2470@gmx.de> <345F3DA7-A0A6-4C45-A30E-FF09CA6E76AE@rfc-editor.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <241f8c7f-fd0d-5f29-c7e1-9b0b12ce1b2b@gmx.de>
Date: Tue, 05 Nov 2019 21:08:50 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <345F3DA7-A0A6-4C45-A30E-FF09CA6E76AE@rfc-editor.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:e1Lgq0Fu3FbkQdCFTXX4og7/8S+6GwUKqW9eG1RR8NxCHflU68L Kg4yaKd/KhcB/VZNDgSRw4ia7FCUp9axxhUhXr8/f9QBRsRmSGVaDOMC2uM+VpTMEO5rm8L gbshU7b+FBDvQ+MlsuJew5tAHwzL6ydj1wyazTwcwx11Br/XBUT0/+Rm9HP50nliaHOPF/e QZ/fnWfsPuJUWP8IZSfDA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:rsZGupFc4Qs=:Tz2/yvwK46nMPi4YNb/FNx Q5teYpkE5TsgUArsaV58tfI9rWAMxNElYe2zqyZjAtFijiedgV6RNoTh6z2/YKmI6/wue2t2q S8jxFQaQF+UlXm1gl1UCZIMz2ZPC/epumFbTiqMoZnMsZd+xUICF+WEvGKZidya1T/Aznvu/P 2R+0Yzvnn9Q+FIE8PRnaef8osTkvS/6+WPCvnDmMJb1oDX1L4xLGFAkNzRSDuZWL4LeFmgxDn +Ba4EJ5M0o7nCkCuVro0NUbSu5hswl4+qGOyRwcy7Yz5DG4Mp7UsqzD+ULEJN5yZ6iLgN8Tad PyM1rqXLdVNbx3QOEd0ojoMHyjv5RLps2Xo3d2ln2Fyu7ClWBMZKAmKAF6QQunQWvFrGNcBeZ 2sNLNXBFArwpEjjpbwW0CWKZIURAjxEU6Ytb0PO3a5a+dPZOfw1RSL5LBN9vGvZTw3yt2HdbO vZpTeuLStVJKjxkvb/t2e8ScXGnws9SnUyn2AkJB8zM+CRc9i0sfK6Yw5EiPp0ZVsNC+/WzAS fAbjWkMp5LHp9fgVrC6WVqLo6CXxa8+CPfx1neaYyc0RnRjZib8LWgxwNjhwCrEH644gAxbAL F1dBD2n9x1nLY5aMF88W+PUn9at+7cVi+5qg64fEh5T5FFOLZYe9fX2W5Muc0IcqKICr4/jiB 2prMGy0uW44iiY87vSghWkhXHvl1Sea8y1XgDbJY5YIMrDnscfJqDoorolxcEzS0o8I1Py70M u1oky1vEUCU6ggYzmw9kUNZMRtlI+MhMXlihzBOzMk1iqZfIMcfP2vkOSYALT7EuIcOjuicJ/ LZSLQNPP552kebOAbv81TANcZ3bJ1wyscUTMN20VQ5R2aK/5KHNmhiS4sKw/UROTtX7fx3gS5 9W3XbtaIkr3g7YlxWN9hl+WZ72KRPrCYFiTd7AMK08CkJISEV7p9LHV7wdukbyDCxwqSfDuk+ dRcL4SZCRtMxCJAkHcuPiuXeAefgYg274inPjQvG8XQPE2TRXlcyM+u3FfIkeJY9i+QNF+e68 MDZEB5a6wlnJfhdxY4Gj2flmjpdjE0mZiFxQ/UAE0fmgqWQGLnM5hGeewkj1I61rfQQp97+5y oLHIpoF2Dvh9imCBASAjcmiajovch/2DldYMm7oRoOkOOh/MexJr3PWIns2vLxJQWsMjjNn4/ eX/Q9j8Kta2KMuKW2r0weupIulgRoqlEr2pQLzmuuHCeX0UzNsVau/fh3ZpHeIX1uUDn1Za6k 0Oe8/uqOPph0dUKTqqghjulWXtZvD6zGowaUF+ltJwb5O2H2agKkjEThUNng=
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/uGR4fhJWwdgstxj32WFMRf4dxTY>
Subject: Re: [xml2rfc-dev] [Ext] Re: [Rfc-markdown] [xml2rfc] <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, 05 Nov 2019 20:09:14 -0000

On 05.11.2019 20:59, Heather Flanagan wrote:
>
>
>> On Nov 5, 2019, at 2:47 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
>>
>> On 05.11.2019 20:37, Heather Flanagan wrote:
>>>
>>>
>>>> On Nov 5, 2019, at 2:30 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
>>>>
>>>> On 05.11.2019 19:55, Heather Flanagan wrote:
>>>>> ...
>>>>>
>>>>> Matching what you see aside, do you have any concerns with my requirements?
>>>>>
>>>>> Heather
>>>>
>>>> Yes, of course.
>>>
>>> To be clear, for my own sanity:
>>>
>>> Yes, of course you have concerns with the functional requirement I described, or
>>
>> You said that "<br/>" should be ignored when the document/section title
>> is referenced. I believe that's wrong; it should be treated as whitespace.
>
> OK. I’m assuming it’s an implementation detail to make sure we don’t end up with double spaces, then?

That's actually a good question. In general, in text content, we already
collapse multiple whitespace characters to a single one (exceptions are
only <artwork> and <sourcecode>).

>>> Yes, of course you have concerns with how the requirement is technically implemented?
>>
>> Well, xml2rfc currently does not implement <br>, but is does implement
>> the unicode line break character
>> (<https://www.fileformat.info/info/unicode/char/2028/index.htm>). *That*
>> implementation carries over the line break into the ToC, and I believe
>> that's wrong, and it also does not seem to be what you want. (I did not
>> check what happens with <xref> or <reference>, but I can check that if
>> that's of interest).
>
> It’s something fixable. I expect Henrik is working on it.

Yes, sure. But that requires somebody to say what the expected output
is. That's what I've been asking for the whole time.

>>> ...
>>> How <br> is implemented in the different outputs is going to be contingent on the requirements of that format and what is considered valid. So, of course we want valid HTML. Whether that means a transformation from what the XML says into what the HTML requires is an implementation I don’t have an opinion on. My job is to offer the functional requirements, not tell the developer how to do the job.
>>> ...
>>
>> I agree with that, but I note that RFC 7992 tried to actually do that :-).
>
> We’re trying to do a lot of things.

Let me rephrase this. I always thought that RFC 7992 is way over the top
in making requirements on the HTML output. I think when doing 7992bis,
we'll need to take out lots of these requirements, and just let the
developer find the best HTML output.

Best regards, Julian