Re: [xml2rfc] <rfc> attribute category deprecated, but required ?

Julian Reschke <julian.reschke@gmx.de> Sat, 30 January 2021 17:06 UTC

Return-Path: <julian.reschke@gmx.de>
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 D4D6A3A0C9D for <xml2rfc@ietfa.amsl.com>; Sat, 30 Jan 2021 09:06:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 Xovj7v2zCDtY for <xml2rfc@ietfa.amsl.com>; Sat, 30 Jan 2021 09:06:49 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 865D83A0C9C for <xml2rfc@ietf.org>; Sat, 30 Jan 2021 09:06:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612026404; bh=tC0sWooOxOcakyD6dmdgqLM2D5eJy+9Ji4Z7XBJuQVI=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=IeBzY5t62NO9Ybxix+hVe3F6Vmw9fCt3lOcRo6CsNUnp2KSqnIniyi2Jugs0nrX1B rk5lTDBum18vcsDFskg33+GH+sYKphAowqQLE+k2xGsDN8m8B5jFmK/Jz5+C3RQm7W i8TCKgXf09p0GA6+kxCW1sFwTtq4D46ePcL0Ku/o=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.182] ([84.171.156.196]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MBm1U-1lFqOG0b6a-00C8CT for <xml2rfc@ietf.org>; Sat, 30 Jan 2021 18:06:44 +0100
To: xml2rfc@ietf.org
References: <alpine.DEB.2.20.2101301601270.6375@maria.rogerprice.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <b42e0c99-2991-e0ed-58e0-388c48e349f3@gmx.de>
Date: Sat, 30 Jan 2021 18:06:42 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.20.2101301601270.6375@maria.rogerprice.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:CfyTiX4sJmtd36Vc6hrvxZWjVyQaurvoDBkcrRAJH9cR+/ES+Tb wH0cW5plc0fwzW7w7yCyBO+OUs9Zin3J+6NVw7oLmDW7U/5iScvWsjxGrH0JXH5ymuSWDKU KTsgQfdYyZr5Q7WO/i+XnZ2MdBYk047519ANUglGliYiLDfWQDS/3YF1Xf/Yj3VCYUdbixG 8bgxpa/tU3oJG0X6iCoqQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:1/E68d9inTA=:PCHWflL59x15v3sA1vY67m 33uAif+QKXWJb6eBZnnTfDOk/ff0FaXFDfKpGZmvQXpG+llFp2aULMykQ+lOh1PLkBIJ41svI DmenTsK5j/ITTROSmuyHctfAsVAUzpOHG6kkjtSgE8BSuVQBnU/ADo+17NI7kCAVhPot+WZ4x qLe8mbbv7SWhyFCDZJMAopMNkbtesLz8CsODtHMHRH7S9zXtSIN+k2I2epqAyx0bCF4jM59rq KvpqeuTcpJr7+4RcdhJQ2fJMUuzXWtDDu46FpZ0G6rSdNhF9AZ3PjL2VZ/trjXzM1RzwfV/PA YH/X/pJNiHCHY0KjnU0hcx2SCLHbBs5MtfTNgVHmY8mnPia/A2FuADGuBvet4PipCoY6XyO2x NbFkaDZHead5e68QSZsvJsXuLB2UpBMmOR0JnNm9xROiD9VxmdfU2jjmlwjwwo64hq43MIRre uer43fA7i9TZplYaUo8FC/YUFhUySxjhalPfdjghkcUUJ3FYy763lDj4Z8iCyn7HP7f9RGrfQ xkZofJNcxhSHn+jIv4CtqnX/vS7AUW5LiIs9KqpZM1tVGxXJiAtOom0cs1nRkxsxqKwK/hVn9 0JMGqosanH1o902IO502inyFXUnuKG9vnYWbay1OYiBPlEs8KtG5BBkG/2tHhglDV9UxzaA+s uwiJpsBmbFl1HfT23RXrFtwdHCcENm6OaH1DTXurthbt4atp8c/3lkKfHxmZS/yh1+4aZ1vLy v81SbyBK45KO3ZYJZvS8U2y+8cRDaaYrmwEHl5zBP67xoX8WEd+HtdKtpvq5KW6zZxNOVvMnY sg5TtYwFMdRY3RqN4UIINZiR5e9rgk4Ja8w1cLZKexIPAww1V5WdKIWRo4FOAw/5jzBH7tQ55 QkYe0iY5Y1cRHS21ur4g==
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/xd2IEiNVggTrgdFrozTPB1MHouA>
Subject: Re: [xml2rfc] <rfc> attribute category deprecated, but required ?
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: Sat, 30 Jan 2021 17:06:51 -0000

Am 30.01.2021 um 16:30 schrieb Roger Price:
> RFC7991 tells us
>
>     2.45.1.  "category" Attribute
>     Deprecated; instead, use the "name" attribute in <seriesInfo>.
>
> So I wrote
>
>     <seriesInfo name="Internet-Draft" value="&docName;">
>
> and I omitted the category="info" attribute from element <rfc>.  I got
> the error message:
>
> Note: Calling rfc_check_attribute_values()
> Note: Calling check_attribute_values()
> /mnt/home/rprice/IETF/nut/draft-rprice-ups-management-protocol-00.xml(6): Error:
> Expected a valid category for submissionType='IETF', one of
> info,bcp,historic,std,exp, but found 'None'
>
> If I include category="info", xml2rfc accepts my markup.
> Does this mean that although deprecated, attribute category is required?
>
> Roger
> ...

The whole transition of attributes on <rfc> to <seriesInfo> is borked.
It needs to be either fixed or undone. Known issue. See
<https://www.ietf.org/archive/id/draft-levkowetz-xml2rfc-v3-implementation-notes-12.html#section-3.1.21>.

Best regards, Julian