Re: [Tools-discuss] Suppressing or eliminating warnings from xml2rfc?

Carsten Bormann <cabo@tzi.org> Fri, 03 March 2023 18:40 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E6C0CC14F72F for <tools-discuss@ietfa.amsl.com>; Fri, 3 Mar 2023 10:40:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.893
X-Spam-Level:
X-Spam-Status: No, score=-1.893 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_BLOCKED=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 c8B4NcQAQ2OC for <tools-discuss@ietfa.amsl.com>; Fri, 3 Mar 2023 10:39:58 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C316EC14EAA3 for <tools-discuss@ietf.org>; Fri, 3 Mar 2023 10:39:57 -0800 (PST)
Received: from smtpclient.apple (p548dc9a4.dip0.t-ipconnect.de [84.141.201.164]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4PSxbb1x5LzDCch; Fri, 3 Mar 2023 19:39:55 +0100 (CET)
Content-Type: multipart/alternative; boundary="Apple-Mail-360200DF-3216-45BB-B2C1-2317F84494F1"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <D7064FBD-FA92-4BC9-AB16-1BCA4901F19D@vpnc.org>
Date: Fri, 03 Mar 2023 19:39:44 +0100
Cc: Tools Team Discussion <tools-discuss@ietf.org>
Message-Id: <F48CAB7C-17AB-4F45-9324-92F86F67CC38@tzi.org>
References: <D7064FBD-FA92-4BC9-AB16-1BCA4901F19D@vpnc.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
X-Mailer: iPhone Mail (20D67)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/Hf8li6E21HjSgTo0QWo8GjQhUNE>
Subject: Re: [Tools-discuss] Suppressing or eliminating warnings from xml2rfc?
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Mar 2023 18:40:03 -0000

I can translate it to markdown, that usually gets rid of staleness…

Sent from mobile, sorry for terse

> On 3. Mar 2023, at 16:52, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> 
> Greetings again. I have gotten an XML file from the RPC to use as the basis of a -bis document. When I process it with xml2rfc 3.16.0, I get a slew of warnings that I would prefer not to see:
> 
> Warning: /Users/paul.hoffman/Library/Python/3.11/lib/python/site-packages/xml2rfc/templates/rfc2629-xhtml.ent is no longer needed as the special processing of non-ASCII characters has been superseded by direct support for non-ASCII characters in RFCXML.
> Warning: /Users/paul.hoffman/Library/Python/3.11/lib/python/site-packages/xml2rfc/templates/rfc2629-other.ent is no longer needed as the special processing of non-ASCII characters has been superseded by direct support for non-ASCII characters in RFCXML.
> ...repeated three more times...
> 
> There doesn't seem to be a way to suppress these other than -q, which also suppresses the desired announcement at the end that the draft was written out.
> 
> The file from the RPC starts with:
> <?xml version="1.0" encoding="US-ASCII"?>
> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
> <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
> <!ENTITY rfc1034 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.1034.xml">
> ...
> ]>
> 
> --Paul Hoffman
> 
> ___________________________________________________________
> Tools-discuss mailing list - Tools-discuss@ietf.org - https://www.ietf.org/mailman/listinfo/tools-discuss