Re: Handling HTAB in artwork/sourcecode, was: [art] New RFCs text formatting

John C Klensin <john-ietf@jck.com> Tue, 03 December 2019 16:27 UTC

Return-Path: <john-ietf@jck.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D4D312006B for <ietf@ietfa.amsl.com>; Tue, 3 Dec 2019 08:27:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=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 ZF-sLVu6DZMG for <ietf@ietfa.amsl.com>; Tue, 3 Dec 2019 08:27:48 -0800 (PST)
Received: from bsa2.jck.com (bsa2.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D84EA12006D for <ietf@ietf.org>; Tue, 3 Dec 2019 08:27:48 -0800 (PST)
Received: from [198.252.137.10] (helo=PSB) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1icB1c-0003re-1H; Tue, 03 Dec 2019 11:27:44 -0500
Date: Tue, 03 Dec 2019 11:27:38 -0500
From: John C Klensin <john-ietf@jck.com>
To: Julian Reschke <julian.reschke@gmx.de>, Carsten Bormann <cabo@tzi.org>
cc: ietf@ietf.org
Subject: Re: Handling HTAB in artwork/sourcecode, was: [art] New RFCs text formatting
Message-ID: <B3F3F47C9E769F94E4E7DC9E@PSB>
In-Reply-To: <de4b4374-d569-4e15-80df-a8db1616483e@gmx.de>
References: <20191127233129.9829F%steffen@sdaoden.eu> <db882e3c-d3fb-4742-8456-7b400225ecce@www.fastmail.com> <20191128005000.yMa3P%steffen@sdaoden.eu> <08EE9B7B7C15D8F8B5DE6AF5@PSB> <502f830c-973d-cc9d-12b4-0bda40b05c46@gmx.de> <a5f486de-1735-266d-a139-21d46058f348@gmail.com> <9BC98F1944F184A7DC2BA973@JcK-HP5.jck.com> <8BB84241-F3E3-4A42-9FF8-E7F07D4DD877@tzi.org> <8a5d8dd2-1346-9940-938a-62b87b512f36@gmx.de> <de4b4374-d569-4e15-80df-a8db1616483e@gmx.de>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.10
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/p7xoR_9HHOa3vRY7l1WMVVWf1P4>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Dec 2019 16:27:51 -0000


--On Tuesday, December 3, 2019 15:13 +0100 Julian Reschke
<julian.reschke@gmx.de> wrote:

> On 30.11.2019 06:22, Julian Reschke wrote:
>> On 29.11.2019 23:34, Carsten Bormann wrote:
>>> On Nov 29, 2019, at 23:18, John C Klensin
>>> <john-ietf@jck.com> wrote:
>>>> 
>>>> identified a weakness in rfcdiff
>>> 
>>> The RFC 7386/7396 accident was also caused by this (root
>>> cause was apparently the use of HT characters, which need to
>>> be expunged from the universe, but rfcdiff helped in not
>>> detecting the problem before publication).
>>> 
>>> Grüße, Carsten
>> 
>> 
>> rfc2629.xslt has been warning about HTAB since 2014-10-16
>> (likely triggered by that accident). xml2rfc has a ticket
>> open about that:
>> <https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/403>
>> (dated 2019-04-14, still in status "new").
>> ...
> 
> FWIW, rfc2629.xslt used to output the HTAB into the HTML
> content; this
> is now changed, it will place a (red) U+2409 character instead
> - that
> should make it easier to spot the issue in the source (see
> <https://github.com/reschke/xml2rfc/commit/58dca914d1489f25b4b
> e8220c30e13f1cb23e46e>).

Helpful but, if we are concerned about what the final output
looks like, wouldn't it be easier to have authors just convert
HT to the widths they prefer and to modify the nits checker to
notice their presence?  And for the RFC Editor to be sure that
none of them make it into final output?  Those are just
questions -- I haven't thought through what bad side effects
that might have.

best,
   john