Re: [xml2rfc] rfc2629-xhtml.ent warning

Robert Moskowitz <rgm@htt-consult.com> Tue, 16 May 2023 15:35 UTC

Return-Path: <rgm@htt-consult.com>
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 820A8C15170B for <xml2rfc@ietfa.amsl.com>; Tue, 16 May 2023 08:35:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 FLSV81NPpuD6 for <xml2rfc@ietfa.amsl.com>; Tue, 16 May 2023 08:35:44 -0700 (PDT)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [23.123.122.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88B1CC15155E for <xml2rfc@ietf.org>; Tue, 16 May 2023 08:35:44 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by z9m9z.htt-consult.com (Postfix) with ESMTP id 3B750625DA; Tue, 16 May 2023 11:35:20 -0400 (EDT)
X-Virus-Scanned: amavisd-new at htt-consult.com
Received: from z9m9z.htt-consult.com ([127.0.0.1]) by localhost (z9m9z.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SPfq4HhW16Ai; Tue, 16 May 2023 11:35:17 -0400 (EDT)
Received: from [192.168.160.29] (unknown [192.168.160.29]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by z9m9z.htt-consult.com (Postfix) with ESMTPSA id 26FE462574; Tue, 16 May 2023 11:35:15 -0400 (EDT)
Message-ID: <187e4d6b-cdca-4dac-dfe0-6976bdd19888@htt-consult.com>
Date: Tue, 16 May 2023 11:35:34 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0
Content-Language: en-US
To: Julian Reschke <julian.reschke@gmx.de>, 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>
From: Robert Moskowitz <rgm@htt-consult.com>
In-Reply-To: <d27b0562-6650-56f8-c5b7-2f1715a92f33@gmx.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/bBBlRNo_V2rnSpqJiiEdwO_cPNc>
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 15:35:48 -0000


On 5/16/23 10: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;".

I have used &lt and &rt in some drafts but not this one.  I will have to 
check out the docs Jay points to.

>
>>> 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.
>
> Best regards, Julian
>