Re: [Rfc-markdown] No longer need to run xml2rfc --v2v3 before I-D submission

Mark Nottingham <mnot@mnot.net> Tue, 27 July 2021 00:28 UTC

Return-Path: <mnot@mnot.net>
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 2C4603A08D7 for <rfc-markdown@ietfa.amsl.com>; Mon, 26 Jul 2021 17:28:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.798
X-Spam-Level:
X-Spam-Status: No, score=-2.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=Yckdn4Mr; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=lbybwUUe
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 fJHAmZdlBlNN for <rfc-markdown@ietfa.amsl.com>; Mon, 26 Jul 2021 17:28:27 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 425A03A08BE for <rfc-markdown@ietf.org>; Mon, 26 Jul 2021 17:28:27 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CF23432001FC; Mon, 26 Jul 2021 20:28:24 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 26 Jul 2021 20:28:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm3; bh=d NGUah9GPBmZzx67u1xkRWRmZpOF06aJ+ch/dOM/T7M=; b=Yckdn4MrI93ws3vE7 PZEJGCRtFqscp2gLQVbvRK8oOmyszKbU5fMc/yq66Q2UpYoyndc01K/SX9E5TOcb A0vgKg1CKlGqNVawRXmyAZKoar0uJbpN6ixj1cs6BJ+NFEpMWsLnpfNBmc5Tq5MX 1QQPIvkz6exRVUNQSblQ8kxI5k0aJU4xV14Rw0rS0x1/1nIT1wGTGNT9IZpaLY3P Iq4N99wERsFldp9bx2IVAwg1tUI+bGV4L2v6gJ3fYjjYVM6w1aWc14cdin+Z2jxj QzzbiH0IayazHr3wKQWtE24sHr6p5mYaphOp+p+v6xXXeohFA3Y1Jwj5B3SZ0EAH 12qwA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=dNGUah9GPBmZzx67u1xkRWRmZpOF06aJ+ch/dOM/T 7M=; b=lbybwUUekYD9qBdF25ed/8LP4VXUx5G6s2H2g8E972o4TfOgOqPRDwJcG OwbfANrrT5S5wjTqX0M5Fm5cfj3wah1cMLU3TGcWWtrd271wwxSeuuoNWINR1Ghw Sufw+sPhRm/VCt7IOp80J4RrnS5rXYlr/ulS8Ucth547pWYwnZEa3DBvz5qHoBId dZ4baWKbG5kFOAwi7dXD40E9iIQTJp00XM7YQ5rWh4amJoFAG/hw4TzGUfcBs4Ef l2qnVl8cnWjkcX/RiouSoNTbUFky7UOqHJgVKnE/OUrD0Pfnpge0C3aYLzi7hbkf 3JrCo82mIqwM5H2Do22BDogk5j/OQ==
X-ME-Sender: <xms:J1P_YMYbA7vZhXeEGUcX2ckBwN5EM_vvGB55PAntkdDK3GkjsXX7vg> <xme:J1P_YHbTxAHTZPErL-AAqf3Ai3Vuyy1Ap5qLcxhvDG3nbLbDsFGC8zwB1QpKvaEUY p4kqDmzJPs5FD5xmg>
X-ME-Received: <xmr:J1P_YG9l8tLO4p5iGkwND4Pfpnd0EAghSPr7pKI_H6Q39TiNrGjduL0bpWQPrkKwYHLzHowovso9rwdsVOit1V4o5rCbS3JlRUlD42FdSFV6msvNddXSSOC6>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrgeeigddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpeforghrkhcu pfhothhtihhnghhhrghmuceomhhnohhtsehmnhhothdrnhgvtheqnecuggftrfgrthhtvg hrnhepteefleffjeffhfehheeffeegudelgfeujedukeeigedvgeehffefvdehffeileek necuffhomhgrihhnpehmnhhothdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmnhhothesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:J1P_YGpWjqFsjkt072_5QF4Lae169-xViTKspV_NZN3V8nqG3AKEDA> <xmx:J1P_YHrLOX2flrmwjj4xiyq_ob_CwzsJDGINvBg_MRBX6hUUvY2ktw> <xmx:J1P_YETbyR-vJ8F1ZYCWiD14Lq4kj5j7plvpyolUOLbJuqkduodmhA> <xmx:KFP_YGXlsEp6-JCirFHNGivOZHC68x6o4BqfihpMmRRqS1YY91gIGg>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Jul 2021 20:28:22 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <BC5E00A5-2FBF-45E4-985B-5E67935D3192@tzi.org>
Date: Tue, 27 Jul 2021 10:28:18 +1000
Cc: rfc-markdown@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <078FD4CC-E219-43F5-8DCD-3C55D8ABEF6D@mnot.net>
References: <20210712034838.B461E209AFFB@ary.qy> <6c781dab-7a40-7031-be1c-d77a182f4cf4@gmail.com> <DE0CD982-D4BE-44A6-9234-B53A756E9717@mnot.net> <bbb8302a-4041-35db-ce61-d2a18b8ebeee@taugh.com> <AB6E5013-C14E-4962-8907-17F241971F9D@tzi.org> <20210719171839.GB24216@faui48e.informatik.uni-erlangen.de> <DBCC4252-8A2D-473C-82CD-B1B2688586D3@tzi.org> <777A0822-6C16-4967-ABD0-BD35359B9FC5@tzi.org> <974739FF-7EB8-475B-A6A9-CB096D567E91@tzi.org> <10368632-F4A3-4876-A4F0-81C3DDBE002F@mnot.net> <F5519EBC-E453-4552-8B7F-F34425DAD2A1@tzi.org> <F15694DF-6ACD-469F-9CA9-E33C5FC03223@mnot.net> <BC5E00A5-2FBF-45E4-985B-5E67935D3192@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/u49nPKi2ob1DlGSGV0A3m0aH_5Q>
Subject: Re: [Rfc-markdown] No longer need to run xml2rfc --v2v3 before I-D submission
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: Tue, 27 Jul 2021 00:28:41 -0000


> On 27 Jul 2021, at 10:22 am, Carsten Bormann <cabo@tzi.org> wrote:
> 
> On 2021-07-27, at 02:17, Mark Nottingham <mnot@mnot.net> wrote:
>> 
>> 
>> 
>>> On 27 Jul 2021, at 10:13 am, Carsten Bormann <cabo@tzi.org> wrote:
>>> 
>>> On 2021-07-27, at 01:58, Mark Nottingham <mnot@mnot.net> wrote:
>>>> 
>>>> Thanks, Carsten! I've converted one of my drafts' toolchain to use this, and it seems to work well (with some differences in the XML, which is to be expected).
>>> 
>>> The XML left in the drafts repository by the current submission engine is the unconverted one.
>> 
>> Sorry, I don't understand?
> 
> The XML when you don’t convert before sending is the one that gets to the I-D repo, so it certainly will look different.
> 
>>>> One question: do you have any plans to tidy the XML output (e.g., with indentation, etc.)?
>>> 
>>> There actually is code to do some indentation.
>>> 
>>> There have never been bug reports on this, so it seems it is mostly non-functional now.
>>> 
>>> What are the requirements on that tidying?
>> 
>> Just aesthetic; if the XML is going to be the canonical format, it's nice if it's somewhat pretty.
> 
> But the RPC makes sure of that :-)
> 
>> Also, it reduces the chances of the RPC making unnecessary diffs in their work.
> 
> They will start from the v2v3 output, so there will be tons of diffs from an unconverted hybrid document.

Sorry, now I'm really confused.

My understanding was that (with the appropriate flags), kramdown-rfc2629 will now generate v3 output. That's what I've changed my toolchain to do. Are you saying that the submission tool will somehow munge that back to v2, then up to v3 again?

Cheers,



--
Mark Nottingham   https://www.mnot.net/