Re: [Rfc-markdown] [xml2rfc] End of support for xml2rfc on Python 2.x is coming soon

Carsten Bormann <cabo@tzi.org> Mon, 20 July 2020 19:24 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 9CEB93A0E34; Mon, 20 Jul 2020 12:24:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 aRRKPuOQvCl9; Mon, 20 Jul 2020 12:24:52 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 62C6D3A0E41; Mon, 20 Jul 2020 12:24:50 -0700 (PDT)
Received: from [172.16.42.100] (p5089ae91.dip0.t-ipconnect.de [80.137.174.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4B9WrX4kXDzyXk; Mon, 20 Jul 2020 21:24:44 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4f4adbcb-5b19-19ce-2465-8f49569e139a@levkowetz.com>
Date: Mon, 20 Jul 2020 21:24:43 +0200
Cc: Tools Team Discussion <tools-discuss@ietf.org>, IETF <ietf@ietf.org>, rfc-markdown@ietf.org, XML2RFC Interest Group <xml2rfc@ietf.org>, XML Developer List <xml2rfc-dev@ietf.org>
X-Mao-Original-Outgoing-Id: 616965883.96795-cdae1ba58884b308ca21f79ef4572961
Content-Transfer-Encoding: quoted-printable
Message-Id: <F7B47BDC-1239-4382-8AD6-24BF30A4902F@tzi.org>
References: <082EE9F1-D4AA-487F-BB8C-08CDB59C5A2F@vigilsec.com> <82e10650-8f68-26b2-df22-dff93ce72ee0@levkowetz.com> <4f4adbcb-5b19-19ce-2465-8f49569e139a@levkowetz.com>
To: Henrik Levkowetz <henrik@levkowetz.com>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/yRWs6nmLaSFd0ADn6Xwcpld2eto>
Subject: Re: [Rfc-markdown] [xml2rfc] End of support for xml2rfc on Python 2.x is coming soon
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 20 Jul 2020 19:24:55 -0000

On 2020-07-20, at 19:41, Henrik Levkowetz <henrik@levkowetz.com> wrote:
> 
> The longer answer is that (as indicated below) the default _output_ format
> will change to use the v3 renderer.  xml2rfc will continue to accept v2 input,
> but by default it will send it through the v2-to-v3 converter, and process
> the resulting v3 xml through the v3 formatters.
> 
> If you want to use the v2 formatters directly from the v2 XML, you will need
> to give the --legacy switch to xml2rfc.

Makes a lot of sense to me.
The v2-to-v3 converter seems to work very well, and continuing to support all the XML2RFCv2 files lying around (and still being generated) is the right approach as well.

Thank you, Henrik!

Grüße, Carsten