Re: [Rfc-markdown] Author listing in XML and Markdown?

Carsten Bormann <> Wed, 11 March 2020 23:21 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 6B8DF3A0A4F for <>; Wed, 11 Mar 2020 16:21:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id xCZ9QQW7w_Ya for <>; Wed, 11 Mar 2020 16:20:57 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id C0C323A0A11 for <>; Wed, 11 Mar 2020 16:20:52 -0700 (PDT)
Received: from [] ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPSA id 48d7HP2nYqzyTl; Thu, 12 Mar 2020 00:20:49 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.\))
From: Carsten Bormann <>
In-Reply-To: <>
Date: Thu, 12 Mar 2020 00:20:48 +0100
Cc: Eric Gray <>, RFC Editor <>, RFC Markdown <>
X-Mao-Original-Outgoing-Id: 605661648.700125-af8aa4ec7828b2c386bed8d7aed86158
Content-Transfer-Encoding: quoted-printable
Message-Id: <>
References: <> <>
To: Alice Russo <>
X-Mailer: Apple Mail (2.3608.
Archived-At: <>
Subject: Re: [Rfc-markdown] Author listing in XML and Markdown?
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." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 11 Mar 2020 23:21:08 -0000

On 2020-03-11, at 23:16, Alice Russo <> wrote:
> Hi Eric,
> [CC'ing Carsten because perhaps he can share some kramdown-rfc2629 magic.]

I might be able to cook up some such magic if needed.

> There is no role="contributor". There is the new <contact> element in the xml2rfc v3 vocabulary, which is essentially the same as <author>. (For the v3 vocabulary, the RelaxNG is here:
> So, two methods come to mind:
> 1) Copy & paste the desired output (from a text file) into an <artwork> element in the contributors section.

… which looks quite ugly.

> 2) If using xml2rfc w/ the v3 vocabulary, you can simply change <author> to <contact> and put those elements directly into the contributors section.

So you have to put in that section manually, while the “authors’ addresses” section is put in by XML2RFC based on the front matter information.  Not something I would have designed…

But it is a small matter of programming to support this.  
Might do that later today (CET today).

So the idea would be that you have an additional YAML section for contributors, like this:

 - name: Henk Birkholz
 - name: Max Pritikin
 - name: Robert Moskowitz
 - name: Carsten Bormann

(I stripped out all the other metadata, I hope you get the idea.)
That makes it minimally painful to move people around between the two, which happens a lot because of the straightjacket that the five-author rule is.

Now how do we get this info into the Contributors Section (RFC 7322, 4.11).
As I said, this section is not automatically inserted by XML2RFC.
In the authoring XML, it is the last section (unnumbered) of the main body (i.e., before the back matter), so kramdown-rfc could simply insert it automatically there, just like xml2rfc then does with authors’ addresses.

The problem with that is that Contributors also can be more like a free text section, as in acknowledgements.  I’m not sure how those would mix in practice; I haven’t seen a Contributors section that had both contact info and free text.
(And no, I don’t know why this isn’t “contributors’ addresses".)

Of course, all this only works with v3 processing rules.

I’m CCing rfc-markdown and removing some text to make this less of a violation of etiquette, apologizing in advance if it still is.

Grüße, Carsten