Re: [rfc-i] deprecating relref

Julian Reschke <julian.reschke@gmx.de> Fri, 09 April 2021 08:22 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 45A153A1779; Fri, 9 Apr 2021 01:22:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.2
X-Spam-Level:
X-Spam-Status: No, score=-2.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" 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 f1xsrnNuCAHb; Fri, 9 Apr 2021 01:22:43 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B36C93A1777; Fri, 9 Apr 2021 01:22:43 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id C3143F40769; Fri, 9 Apr 2021 01:22:33 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 81069F40769 for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:22:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WJuFA0mOG5dT for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:22:28 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by rfc-editor.org (Postfix) with ESMTPS id 37AB7F40759 for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:22:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617956555; bh=E1OA3e+VpK5TLVjkMNTN90Fl/ojRubamitgIIOGUO9Y=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=D4kg/lfK+HsPPk7QPugmahk7ONablUi0tpnaOkngrKBFw+oA4Fm8QhCIO/fx/2/oQ D25IqSzSTTpyjrLlwVQh1B1LrMrxdfamKTp3a3olcsl7rrIDE56QRJd8u8nWTnRF5h bV+poJhCViJCXoLjBN0MKiiX2VW1r1ob4+G7u4Lc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([91.61.48.181]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N1Obh-1lgpmq1g9T-012pq1 for <rfc-interest@rfc-editor.org>; Fri, 09 Apr 2021 10:22:35 +0200
To: rfc-interest@rfc-editor.org
References: <060157d4-68a0-9729-cf0e-9eaa38ce45d8@mozilla.com> <F9234029-134F-4423-8C6A-13A904236A98@tzi.org> <253cc10d-d355-e641-90eb-8bc0c0455486@gmx.de> <50A73B95-837E-42FB-86E9-3F3E4F22BF6E@tzi.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <2ab812ce-37ec-12a0-c489-c51c8a5033f3@gmx.de>
Date: Fri, 09 Apr 2021 10:22:32 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0
MIME-Version: 1.0
In-Reply-To: <50A73B95-837E-42FB-86E9-3F3E4F22BF6E@tzi.org>
X-Provags-ID: V03:K1:TfhkN8U4dvyOBXOFj2enbF9gpAwP9vIOj2fzmaJjr9OR4WnMhF4 0nxkqkz+NSMnlzwejWhcaDOxoEmW3PqgkYjnoKCWzNRROGcZhdUVyFMlgZ1m2fC8EHp7AKv OnOJZUZnlQojSebCmtN7jRqilaV8ILToxX70Z3Qg8YsR0c1kNtNTp9MfYaAmu2N3PUYcvI0 f2MyMYUavQ+QDclZ/ctvg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:3B1vdWBozME=:0Fg7DcHLmp5wyqy37U+/Il nenZIoyTxqlaAg41V/rjq2YV0eyR92Ag0PjuL2tef0sfeJKohTJLWx706j2Ru4M4EDq2fCb+t /IlQVyHzVizTuw5I+jJLiQAgKYngBuBb3enRaigoXoB0kZpFfT6ieggHc09zY3XbsnTsQs7uR iHGLB+G3vr6yKyQV6qdJaiG3aEgfuqfarLrOREvEGhkc5vLojG8Q3RmUDV5zAVj+rA9xGsyIq hrqXunqD5INm+7VJ26DmmZRV01OEHZiAW3US+rQ0nT0NjZ/XBjekVzxPdABZIo/wpRRwVHux4 hP6zYTcEwvzxTMmG4lkGfz4tnB5zQZRy/EuBj3pm+e75rizblg6wcLwpZTq3KIYNEzNwu55t2 piEy8bIY3D2+pU69+t6cnQy+9Ps8y+Hd64oHh/D6537n3KQzcao+PkbBwn8MBZkk2fGu0XZUo yPr265uyR6RH356LEKs5YejITsj0apH5zZna8K4uzCtIV/gsiOG1MqKplM1vzk3ZsBoyGT1u9 SN4BJ514rTOn12dcnUjeYofWVE+JMxHwB/EjOcAPh4xK+zHnrP8xq98uPW3SIUuAXkTaFIlko pfTt9btasQuDG3H/oYNRyorOdrWg3Jf50DlUXt2jrkGNvw0bzKqOzf/5Dg1wtZqwe2+/8wtml j/NuAyhBr2BZT4imADeB1pd8JQI6F61/EsfzNIk/aMwKMIio0sk4LGAQrbei9ebFisD/VAtJ4 vY0wqkmV0giNH+LarXitdGZ+ywqnIwgzmassN4SPBt3tQCBlloTOE2pEP63SThr34gFJlYceQ JVbo7t2cfL+vsfaXus0KTRGNimDYdwe0UOhET9489ioSrzZCDvG6pPYyo9eiw5fg0PigqzqXi SoHSwTdhX1+4sdT0xasWavnhSY3wKGmphkNWYjc6Zg1nyeI0nXYFEbEX9bVOJk/oooSjoR9v3 CFEtjtK4h4hYm+hA4CDP9L7AWElLqhgrIfeJ3YQ5v4QeaFJzChEW4lHL6F2WZBw3e6brd/iwk lHFCAXtTYezPsQUhFP6khpSbeDWpj9z0rnLcYLnyb9pYAK3Y7Kl+z7Vw6gV4kilsbS1FjzSKC W4H1vyFSXaPm6B/XBj9efUClzW96+TKzW4S2dWjqXd/Mydj3nwcvIEsLozpkn4EeByeEMXPj7 WvxdjgTXR8zuH2lvZzioN37sPcqK58FlUywp2i3rIKyFGoGMp7lRsjx6nXD21tHvTU/R1jNml kklvvJfaeMDLimJ/N
Subject: Re: [rfc-i] deprecating relref
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Am 09.04.2021 um 10:11 schrieb Carsten Bormann:
>
>> On 2021-04-09, at 09:17, Julian Reschke <julian.reschke@gmx.de> wrote:
>>
>>> 42726 sectionFormat=“of"
>>>     1 sectionFormat=“parens”
>>>
>>> The value for sectionFormat=“of” is inflated as this is the default value, I think I'm only seeing 2215 actual section references in total, so it should really be 1487.
>>
>> Inserting the "sectionFormat" default when indeed no section is
>> referenced IMHO is a bug in the preptool.
>
> Curious: How do you think this should be implemented?
> Should the dependency of the presence of @sectionFormat on the presence of @section be hand-coded, or is there a way to do this in a schema-driven way?
> (As you can see, my Relax-NG is getting a bit rusty.
> This could easily be done in CDDL, but that doesn’t support XML.)
> ...

FWIW, a simple fix for *this* case would be not to give @sectionFormat a
default in the grammar. The author really does not care where the
defaulting originates from, as long as it happens.

Best regards, Julian

_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest