Re: [xml2rfc] xml2rfc online: references to I-Ds and associated dates

Carsten Bormann <cabo@tzi.org> Fri, 12 July 2019 00:10 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0FCA01200C7 for <xml2rfc@ietfa.amsl.com>; Thu, 11 Jul 2019 17:10:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=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 At_lf8uozsBG for <xml2rfc@ietfa.amsl.com>; Thu, 11 Jul 2019 17:10:24 -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 38C401200B9 for <xml2rfc@ietf.org>; Thu, 11 Jul 2019 17:10:24 -0700 (PDT)
Received: from [192.168.217.110] (p548DCE40.dip0.t-ipconnect.de [84.141.206.64]) (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 45lCx82vvDz14p0; Fri, 12 Jul 2019 02:10:20 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1FBE1F3A-A148-42A8-AAA2-EB7E8F9B2036@tzi.org>
Date: Fri, 12 Jul 2019 02:10:19 +0200
Cc: John C Klensin <john-ietf@jck.com>, xml2rfc@ietf.org
X-Mao-Original-Outgoing-Id: 584583017.760375-0a07f1b27c4a2f65f0f4383ff0556278
Content-Transfer-Encoding: quoted-printable
Message-Id: <980393C9-9AB8-4B48-9175-F513884847D5@tzi.org>
References: <60AB35B3B946D11980DA5426@PSB> <5aa01f36-374b-6236-ecc1-58610d50c6e6@gmail.com> <15CF0049-78B6-46E6-8C84-D26FB1DE3F05@tzi.org> <1FBE1F3A-A148-42A8-AAA2-EB7E8F9B2036@tzi.org>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/3tUHb_D0k-6wnAQeF2NlR67oRjk>
Subject: Re: [xml2rfc] xml2rfc online: references to I-Ds and associated dates
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jul 2019 00:10:26 -0000

On Jul 12, 2019, at 01:58, Carsten Bormann <cabo@tzi.org> wrote:
> 
> I think that’s why the draft number is in the bibxml.

Oh, and since this is the xml2rfc list:
The series info looks like this:

<seriesInfo name=‘Internet-Draft' value='draft-ietf-roll-rpl-19' />
and
<seriesInfo name=‘Internet-Draft' value='draft-ietf-roll-rpl-07' />

xml2rfc detects the seriesInfo name “Internet-Draft” and inserts the “work in progress” boilerplate instead:

xml2rfc/writers/raw_txt.py:
            for seriesInfo in ref.findall('seriesInfo'):
                if seriesInfo.attrib['name'] == "Internet-Draft":
                    refstring.append(', '+seriesInfo.attrib['value'] + ' (work in progress)')
                else:
                    refstring.append(', '+seriesInfo.attrib['name'] + u'\u00A0' +
                                     seriesInfo.attrib[‘value'].replace('/', '/' + u'\u200B'))

Grüße, Carsten