Re: [rfc-i] deprecating relref

Carsten Bormann <cabo@tzi.org> Fri, 09 April 2021 08:11 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 A2FCA3A170F; Fri, 9 Apr 2021 01:11:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.65
X-Spam-Level:
X-Spam-Status: No, score=-2.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-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 PDuQIUuxzAxC; Fri, 9 Apr 2021 01:11:36 -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 9A2623A1710; Fri, 9 Apr 2021 01:11:36 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id D42B6F407D7; Fri, 9 Apr 2021 01:11:26 -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 46A6EF407D7 for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:11:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
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 K0xY6mGKRCdL for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:11:21 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) by rfc-editor.org (Postfix) with ESMTPS id 4DE61F407D6 for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:11:21 -0700 (PDT)
Received: from [192.168.217.118] (p548dc178.dip0.t-ipconnect.de [84.141.193.120]) (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 4FGrSD54bdzyTv; Fri, 9 Apr 2021 10:11:24 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <253cc10d-d355-e641-90eb-8bc0c0455486@gmx.de>
Date: Fri, 09 Apr 2021 10:11:19 +0200
X-Mao-Original-Outgoing-Id: 639648679.203895-72675e32521f34e254a93d0fb1df4e1e
Message-Id: <50A73B95-837E-42FB-86E9-3F3E4F22BF6E@tzi.org>
References: <060157d4-68a0-9729-cf0e-9eaa38ce45d8@mozilla.com> <F9234029-134F-4423-8C6A-13A904236A98@tzi.org> <253cc10d-d355-e641-90eb-8bc0c0455486@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
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>
Cc: rfc-interest@rfc-editor.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

> 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.)

Grüße, Carsten

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