Re: [rfc-i] deprecating relref

Julian Reschke <julian.reschke@gmx.de> Fri, 09 April 2021 08:19 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 B5B7C3A1754; Fri, 9 Apr 2021 01:19:01 -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 CYqipeITVh22; Fri, 9 Apr 2021 01:18:57 -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 336CE3A1753; Fri, 9 Apr 2021 01:18:57 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 64117F407D7; Fri, 9 Apr 2021 01:18:47 -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 A0D8AF407D7 for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:18:46 -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 74h8IUyY0DnE for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:18:42 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by rfc-editor.org (Postfix) with ESMTPS id 2F0C3F407D3 for <rfc-interest@rfc-editor.org>; Fri, 9 Apr 2021 01:18:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617956322; bh=09BTgE95+eNNF34GMn7tL+WHjTs1OecNtika+tEQ1pA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=KQuI/S85Qv6ONNzuLsXRo6F2qVSxNr/B/WbzTa32jd5S3hTvyBBLoWAftQEcz5D1t 4dzdNQy2rGeBEZwM2Cinyqp9oohlGmIeq8Mg3IfzLkRU5IUQVdF4GE3iaQe9Edt54L 9gGEDu53bZaai8FDfspqbLcax/jX7k9G2Rye5Cnc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([91.61.48.181]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MFKGZ-1lK62N2OG9-00Fnow; Fri, 09 Apr 2021 10:18:42 +0200
To: Carsten Bormann <cabo@tzi.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: <547049fe-7b25-1f6d-44dc-06856a1d0776@gmx.de>
Date: Fri, 09 Apr 2021 10:18:40 +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:knXU9EZohj1P2P1+eG0M/bLc7IdLuaBsmPyx+peV3z6Q6EmpfB8 W2tRJwPSJuV65t+6o+vfBBgZNAL0syEX7lLO2VevfvgpkKgvtAPDoj8Tkhc3U3FI8WYcDDs xAnXW+UHJHDUetpFu4jx/NbEuXnqRXqr2Z6M+279uk9MlKfT1QjH7zAM0Zo51PJU/1nAAMh 9U+wO2DSnLlu26dn/BGPw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:DBrmEeB3XXs=:0BGI2ok+EhnePNpe15JgcG /Jp2eAsgKtAn6BfeMBGrpZqbpS9yciMPaX9+4SrxnjGxWmooAY3j+vEuoiG8NXZC4J+j9Sb+5 WDQ8uv/QzNCDfF9Q1mNr5qo6W9KIW79htJQA4ru8vJIiobyzdevDE5xSxgFDvGmha6q+5HWSY ePSZjKFPBwtzrvLSapBIZ1aFyi4wrbLYDaHA3Zbk6chrsK7yl/5/ChBRr3YBnS7kBw7y0Ibzb FwdnQGxQYwuhijOLCSrVx9sAUQOVM5bmD532rLLCzbYeywO9o7X2crdxmsAAnQRJDEgXFQ1m7 rhBHtOKPjD675h1S49nI2zJCx6qlpZIz2UUZYyePQezYOQIcVUF4MnDDLQ3ohmBALiL/7Fsyz vhJ6kuDPgKGx/+32I4eFW57WmgiDYnXotCBBBifXjENd8R5bYxKDkwgZKI4b8eByNUbFMN6Ut PXSvwmZNOXn7nAZyYVDp63uZMJWgvg05u+dlZwlfr+4xu1RPcVxiPEVWTIWiO9GV2QBzHmZ40 ME5rse/PIyaO6uD5y7iOCZV6KjFLvNxrpN+q4YvqNIhWKbuwnjkSv/478YZcmHikdJVaQMni1 gFWmB5cxR4OgWVTHfaKajZO/iINr9+9xLb/TAV5dbbPhpKSGtI5Ij4hvoAF3VdNHda2pQyBHw DFQ7/L9Q9PZTiOAbvtekngqavQlLN6D+coGiBQQvjaL87QN7CDGdyiYCJcOa88sPM2RnD+VP4 sHGYDEdgoaT8RvUhrE1LSz9gOc6TuuXJBfgC9O7yRaQ+v9/i0xXw7bJBEIj0WrxQjPe5CPOEy bDFdtxGfmEbQfd5rvY9QP7pjSKMrLun9IUE1Qtog7LF87hw2JDnV1aaoF+kOy0604pxFLa0nt eZ3wJybKwG6Gm744CZdW2EWntBEDf5nzSzgyy+Z5pIrHgo37NRgQ/gvhwMPHoCleTWZpOay8d fvzNm/z4+xIcZZCp7lHuHVahRtZY1P22cM16+LF+tOGDOGeYaLBgxaUMw4mwTFmBocwjow/Rx qxb0nS5guKkldmUfHIGejzL3YVEfsRGtehTYf9iwEX0Z9SUzZuCzmoJLpOpTaAMFqdjANYZUX Bc0S7H3jAzUBuvbUOAANe8b8w/1ymnn75GN92dnwovy3E+MvBvE+V+l+AyPLSfy7aynW09RIe nHGpI9m/sk7cJ5CzoSUZcRdL7K8DULaMjJBf0vXtYv5IpbH3jUHzMc8SAsqsKaw5Q6FXehCXe iIVhrk//+/CqulEmM
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-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.)

I don't think you can do this with RelaxNG based information alone.

FWIW, I believe the direction to insert *all* defaults is totally
misguided; it leads to "canonical" XML that's full with completely
useless information.

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