Re: [xml2rfc] Idnits false positive on RFC2606 FQDN

Carsten Bormann <cabo@tzi.org> Thu, 21 January 2021 16:42 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 B50923A12B4 for <xml2rfc@ietfa.amsl.com>; Thu, 21 Jan 2021 08:42:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.918
X-Spam-Level:
X-Spam-Status: No, score=-1.918 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=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 8ji0zeDnCxAT for <xml2rfc@ietfa.amsl.com>; Thu, 21 Jan 2021 08:42:40 -0800 (PST)
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 5A1E43A12B0 for <xml2rfc@ietf.org>; Thu, 21 Jan 2021 08:42:39 -0800 (PST)
Received: from [192.168.217.118] (p548dc939.dip0.t-ipconnect.de [84.141.201.57]) (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 4DM7V51bhwzyt6; Thu, 21 Jan 2021 17:42:37 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <alpine.DEB.2.20.2101211718300.26613@maria.rogerprice.org>
Date: Thu, 21 Jan 2021 17:42:36 +0100
Cc: xml2rfc Mailing List <xml2rfc@ietf.org>
X-Mao-Original-Outgoing-Id: 632940156.783426-08a3bfe3bbe234aa00c9802b0eb06168
Content-Transfer-Encoding: quoted-printable
Message-Id: <47897289-B537-4598-BA09-BFDA3291BCAD@tzi.org>
References: <alpine.DEB.2.20.2101211718300.26613@maria.rogerprice.org>
To: Roger Price <roger@rogerprice.org>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/bDm_lGslm68WVPuFB1ZC7PXEpEc>
Subject: Re: [xml2rfc] Idnits false positive on RFC2606 FQDN
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: Thu, 21 Jan 2021 16:42:43 -0000

On 2021-01-21, at 17:33, Roger Price <roger@rogerprice.org> wrote:
> 
> How can I tell Idnit that my constants are not domain names?

Idnits uses heuristics, so these *will* create false positives.

A future sprint for idnits could provide a way to create “ignore” pragmas for these false positives.
This is complicated a bit by the fact that idnits works on the text version, so there would be no way to hide those pragmas from the casual viewer.
But maybe they can be hidden in the backmatter or some such.

However, idnits awaits a rewrite anyway, so that probably should be done first.

Until then, I’d say just keep note of the false positives.
(You might even have a “toBeRemovedinRFC” section that lists them, so readers know you are aware…)

Grüße, Carsten