Re: [xml2rfc] rfc2629-xhtml.ent warning

Julian Reschke <julian.reschke@gmx.de> Tue, 16 May 2023 14:17 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 B84DCC151998 for <xml2rfc@ietfa.amsl.com>; Tue, 16 May 2023 07:17:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.798
X-Spam-Level:
X-Spam-Status: No, score=-2.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.de
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7UGkCBDevINy for <xml2rfc@ietfa.amsl.com>; Tue, 16 May 2023 07:17:37 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 39928C1516E3 for <xml2rfc@ietf.org>; Tue, 16 May 2023 07:17:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684246650; i=julian.reschke@gmx.de; bh=NPypHdtcV0fDjt7CyQOfnrhTLp3hy1qV64KEuc+bvpQ=; h=X-UI-Sender-Class:Date:Subject:From:To:References:In-Reply-To; b=SHrP4Y1OIqyLwFdJ59hh5OId3xyS+ytuZfuF9Fola5clm3L95CC0kUrywKLeQQ7OM Go7cJOLQBEi0P1Ac1z2FC3hVXHR8peVCrII48dvasXT3gGmYhqJZ2yoMKf/RBsDqX/ k5nhlE+5hZcQ9K283cpq+HI/P0T9zdqDYRjGYbL8HYIy5Qa35ADQXp47M8/d1qEWRU vYovO+l2e7zaNz7ieARQIUvLBI1nHDJLlRTbH5CSlwvPQCW4TzekvjCgdKZ6t3ck2k 6/CsDx4sUfIHDbfBZJcQ3A/ZYtE+XtDwJfAJhzzqRZI18R8C94+WhHmxLsWQ2XkyZU JjhX0FFPobBjg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [10.173.37.15] ([193.105.139.131]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N4hzZ-1q7yRx2wfX-011hXX; Tue, 16 May 2023 16:17:30 +0200
Message-ID: <a1dc2735-8cfe-e145-9b43-26ff98c874b2@gmx.de>
Date: Tue, 16 May 2023 16:17:27 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
Content-Language: en-US
From: Julian Reschke <julian.reschke@gmx.de>
To: Robert Moskowitz <rgm@htt-consult.com>, xml2rfc@ietf.org
References: <b09e9607-966a-6250-db4b-5d541b1e690d@htt-consult.com> <EA51BFDA-0A1C-49DA-8301-FDF9BD805D2E@ietf.org> <9c8e932b-f6eb-5cf9-2dae-3018f0a217c0@gmx.de> <ef1620d3-bd69-2875-4263-6213d252f976@htt-consult.com> <d27b0562-6650-56f8-c5b7-2f1715a92f33@gmx.de>
In-Reply-To: <d27b0562-6650-56f8-c5b7-2f1715a92f33@gmx.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:3NdPj5lSIfYUbajf9Jrch9M4xxwBipPTRgtj9NtIoWUc9kF60/Y 20uKUNUk36vmrPsaovBiAUHQOLmIXKnxf/Jgvk5ZXAOdJNzUBC+eRNpzLTOHDlXJWGrUFfV FVPxVHEwlONcfE5W3y/2YJS2iiGSRXDUUF3xrnjxz6EXvipBrfx5UQ3nqTEOc4pxZ2JKYM2 Djm3Q+yc1KPfIyb91eGUA==
UI-OutboundReport: notjunk:1;M01:P0:o7ITLMzF44E=;q4mMONez4yb/MCDPgAft9XxTC7c Do5M36T42julobrjqWBynW+wyONfstTl97y5PzGivONqs9gIKkO7v6kYDxbOhOD9sndbLXAux mGukSkHq6jZldh38CP4ampsxSnILbMsTNDqmIJ1ImW7+KnvUZGEJMd1vVLimbZwi4T1LKmRFk yrE/bM+18czQkyWn+heK/MtqFKtsMo2a826F+8G3g3bGldagTHJlS5jWv46f+BagkBWn+/Qzp jujZPyTuzl6Y2LdY0voqforVjxqwbMMO5aHQ9koqRwIQYbF7zf5L5eJKfjldgx0GE83iQtpq6 8wtpckgp2ItYqJ4Egpn5X+kTsW/Ch2GYQncjfTl8pZwe/V3svfUlxVBM44bIhL89q8LvpFuVq j6ESDXXC3mhv+FzV6r1bE+JgQGBfpDdsvmwKXtdfRTwgMx9cUTwVW0TJxGnLhylD7elrrCUhy xGz78ptKMaRZcP6zwG7IJDfLDGePrdcjFenHx1+gCIBG3+5N0QU12AkVnxgXGXFw53k5H4UA7 LJ4dcGRK9L9Vg1fs90GAbFrdIXvtL6RZcDXP5Dvkz2yTntPYtgDTTiYzhaWN/SJYuz4PmKoBG JC9P5dIIkH9UEVaDRXu8Zw1XNoq3ahaRwCAHB6yvhiEH8yJBMgr8+5UGO9zyAhBppj5QAMMVC F0yq6N3DMAin111rzr9Kbp+B1WT0ZvCVE3P9sS8kedgtgXkldDaFcKhHmOJMGhzF46ZG75Y/Z BwL58Kz2tfLR68BkkiiPMaLXnRR/+0+B8NmdzsI6dQWRJtsw4tVGvMBs/HLC7xvtZW/UvBofL E904nfSYq6DzliKIBKWLlYz01ZVtautBJGb24T52deZ1CPZlslQSQmmmHzRPwhkdndeOeXGqG hfc888smiPHo2eLEpwU7W1w4IOsRVZD0sxeCEOmTt6oamG12nD9kfv13KhyBvn1aLieEuvGwy 2S8RRg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/y60oPG-7RuPOg4h5D-2almtGRW0>
Subject: Re: [xml2rfc] rfc2629-xhtml.ent warning
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: XML2RFC discussion list <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: Tue, 16 May 2023 14:17:41 -0000

On 16.05.2023 16:09, Julian Reschke wrote:
> On 16.05.2023 15:55, Robert Moskowitz wrote:
>> ...
>> OK, I'll bite.  I am just doing this cookbook kind of, but always work
>> from existing xml files rather than go back for templates.
>>
>> What are "named character entities"
>
> See <https://www.w3.org/TR/2008/REC-xml-20081126/#sec-entity-decl>.
> Things like "&nbsp;" (instead of "&#160;").
>
> If you don't have any of these: just remove them. If you have some, and
> want to declare them locally: see
> <https://greenbytes.de/tech/webdav/rfc7749.html#special.unicode.code.points>.
>
> Note that XML has a few hardwired named entities that do not need to be
> declared, such as "&amp;" or "&lt;".
>
>>> RelaxNG doesn't help with these at all.
>>>
>>> The warning message from xml2rfc is completely misleading, as it
>>> conflates entity declarations with validation.
>>
>> It is new.  Wait, I just migrated to this system, so this is the first
>> use of xml2rfc here.  All prior builds was on my old F35 system.
>>
>> So this message MAY have something to do here.  I just checked and my
>> old system is on xml2rfc 3.11.1.
>
> I believe the message has been around since the version was bumped up to
> 3.x.

But I may misremember; the current text actually was added early 2022
(but I'm sure there was a similar warning before).

I just opened <https://github.com/ietf-tools/xml2rfc/issues/992>.

Best regards, Julian