Re: [Rfc-markdown] [xml2rfc] Imaginary vspace?

Carsten Bormann <cabo@tzi.org> Thu, 22 June 2023 12:21 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14854C13738E for <rfc-markdown@ietfa.amsl.com>; Thu, 22 Jun 2023 05:21:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t7qrVO6Ukm36 for <rfc-markdown@ietfa.amsl.com>; Thu, 22 Jun 2023 05:21:26 -0700 (PDT)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFC38C13AE26 for <rfc-markdown@ietf.org>; Thu, 22 Jun 2023 05:21:23 -0700 (PDT)
Received: from smtpclient.apple (p548dc15c.dip0.t-ipconnect.de [84.141.193.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4QmzxY0gK5zDCgT; Thu, 22 Jun 2023 14:21:21 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <d39d7efa-3386-b562-a120-a3860e00277d@gmx.de>
Date: Thu, 22 Jun 2023 14:21:11 +0200
Cc: rfc-markdown@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <FEFD7BF7-E8B9-4802-86BE-8420793FEDD3@tzi.org>
References: <24451a52-5848-d33f-1496-50fa0a998d0c@gmail.com> <CAD2=Z85jycbqdeo3fz1jAwedMbPPwpyi9MJ6r0bJFSjstGrwDg@mail.gmail.com> <b8fe31bc-9d1c-04b9-e729-f4c55b3ef91d@gmail.com> <CAD2=Z87s24XtaO9i2sRB=o_qWg+OWZHwS2Cy1gG6BoqPtHNd3g@mail.gmail.com> <CAD2=Z84Vt4w4bteeshj7+gu-Ua8SVyoxCbtS6_S7MmV=Cnspqg@mail.gmail.com> <a2024a19-acb8-b93e-a94b-76af6d86cbae@gmail.com> <7FF96E34-7B7C-4F13-B644-E5AFDA4C1E7E@tzi.org> <d39d7efa-3386-b562-a120-a3860e00277d@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3731.600.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/w5nSUMVYziAJzYr190MKxKXjq6M>
Subject: Re: [Rfc-markdown] [xml2rfc] Imaginary vspace?
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jun 2023 12:21:29 -0000

On 22. Jun 2023, at 13:55, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
> Out of curiosity: is there a good reason why it still emits a mix of v2
> and v3?

(It = kramdown-rfc)

Yes.  Three very good reasons.

(1) The only thing on earth that actually knows what RFCXMLv3 is, is xml2rfcv3.
Since it provides a function to generate RFCXMLv3 (*), we should obviously employ it.
(Since kramdown-rfc already has xml2rfc as a single point of failure, there is no reason to get rid of this dependency.)

If you need to placate your sense of aesthetics:
The fact that xml2rfc is employed for this can easily by hidden by using kdrfc with the -c flag.

(2) kramdown-rfc is a production program.  Adding risk by rewriting perfectly functional code needs to be minimized.
People usually detect problems 30 minutes before the Internet-Draft deadline, so kramdown-rfc better work.

(3) There is always something more urgent to do than making cosmetic fixes.  Well, there is some progress, but declaring an objective to generate conforming RFCXMLv3 would be busywork — we already can do that!

(4) If we ever get moving again towards a v3.1 or v4 or v2025, see (1).

Grüße, Carsten

(*) with incredibly few bugs.  The only ones I know of that actively get in the way is where the converter doesn’t consider all the grammar bugs of v3 and generates v3 that is logical, but not supported by the grammar.  This should be fixed by fixing the grammar, not by fixing the converter, which is already doing the right thing.

(5) Why should I change kramdown-rfc to generate buggy v3 when we know we’ll fix it (probably even this decade)?