[xml2rfc] 302 error for RFC0793

Tom Pusateri <pusateri@bangj.com> Fri, 17 May 2019 16:25 UTC

Return-Path: <pusateri@bangj.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 C037E12038A for <xml2rfc@ietfa.amsl.com>; Fri, 17 May 2019 09:25:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-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 29YNGmxPS-P1 for <xml2rfc@ietfa.amsl.com>; Fri, 17 May 2019 09:24:59 -0700 (PDT)
Received: from oj.bangj.com (69-77-154-174.static.skybest.com [69.77.154.174]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A7651201CA for <xml2rfc@ietf.org>; Fri, 17 May 2019 09:24:55 -0700 (PDT)
Received: from [172.16.10.110] (mta-107-13-246-59.nc.rr.com [107.13.246.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id 522702FD94 for <xml2rfc@ietf.org>; Fri, 17 May 2019 12:24:54 -0400 (EDT)
From: Tom Pusateri <pusateri@bangj.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Message-Id: <0B0A6136-2E2E-4873-94AE-37E63BE5EFC0@bangj.com>
Date: Fri, 17 May 2019 12:24:50 -0400
To: XML2RFC Interest Group <xml2rfc@ietf.org>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/YcasxSIvDNUM-ABdGUIy2TvdM30>
Subject: [xml2rfc] 302 error for RFC0793
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: Fri, 17 May 2019 16:25:04 -0000

This used to work. I just recreated the virtual environment and re-installed xml2rfc today and now it doesn’t.

% xml2rfc draft-ietf-dnssd-push.xml -o draft-ietf-dnssd-push.txt --text
Parsing file draft-ietf-dnssd-push.xml
Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Error: Unable to parse the XML document: draft-ietf-dnssd-push.xml
 <string>: Line 1094: Failure to process entity RFC0793
 <string>: Line 1094: Entity 'RFC0793' not defined


% xml2rfc --version
xml2rfc 2.22.3
% python --version
Python 3.7.3

Here’s the relevant XML from the source:

<!ENTITY RFC0793 SYSTEM  "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.0793.xml”>


Verbose version shows a 302 error. I’m sure the leading 0 was required at one point.

% xml2rfc -v draft-ietf-dnssd-push.xml -o draft-ietf-dnssd-push.txt --text
Parsing file draft-ietf-dnssd-push.xml
Resolving entity... /Users/pusateri/.virtualenvs/rfc/lib/python3.7/site-packages/xml2rfc/templates/rfc2629.dtd
Resolving entity... /Users/pusateri/.virtualenvs/rfc/lib/python3.7/site-packages/xml2rfc/templates/rfc2629-xhtml.ent
Resolving entity... /Users/pusateri/.virtualenvs/rfc/lib/python3.7/site-packages/xml2rfc/templates/rfc2629-other.ent
Resolving entity... /Users/pusateri/.virtualenvs/rfc/lib/python3.7/site-packages/xml2rfc/templates/rfc2629.dtd
Resolving entity... /Users/pusateri/.virtualenvs/rfc/lib/python3.7/site-packages/xml2rfc/templates/rfc2629-xhtml.ent
Resolving entity... /Users/pusateri/.virtualenvs/rfc/lib/python3.7/site-packages/xml2rfc/templates/rfc2629-other.ent
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.0768.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.0768.xml
Cached version at /Users/pusateri/.cache/xml2rfc/reference.RFC.0793.xml too old; will refresh cache for entity https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.0793.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.0793.xml
 ... 302 https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.0793.xml
 ... 200 https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.0793.xml
Added file to cache:  /Users/pusateri/.cache/xml2rfc/reference.RFC.0793.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1034.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.1034.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1035.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.1035.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1123.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.1123.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.2119.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2136.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.2136.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2181.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.2181.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2782.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.2782.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6066.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6066.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6895.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6895.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7673.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.7673.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7766.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.7766.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.8174.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8446.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.8446.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8490.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.8490.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2308.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.2308.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3123.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.3123.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4287.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.4287.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4953.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.4953.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5077.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.5077.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6281.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6281.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6762.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6762.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6763.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6763.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6824.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6824.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6886.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6886.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6887.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.6887.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7413.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.7413.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7525.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.7525.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7719.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.7719.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7858.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.7858.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8010.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.8010.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8011.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.8011.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml3/reference.I-D.dukkipati-tcpm-tcp-loss-probe.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.I-D.dukkipati-tcpm-tcp-loss-probe.xml
Resolving entity... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8310.xml
Loaded from cache /Users/pusateri/.cache/xml2rfc/reference.RFC.8310.xml
Resolving include... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6335
 ... 302 https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6335
 ... 404 https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6335
URL retrieval failed with status code 404 for 'https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6335'
Cached version at /Users/pusateri/.cache/xml2rfc/reference.RFC.6335.xml too old; will refresh cache for include https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6335.xml
Resolving include... https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6335.xml
 ... 302 https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6335.xml
 ... 200 https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6335.xml
Added file to cache:  /Users/pusateri/.cache/xml2rfc/reference.RFC.6335.xml
Error: Unable to validate the XML document: draft-ietf-dnssd-push.xml
 <string>: Line 953: Element texttable content does not follow the DTD, expecting (preamble? , ttcol+ , c* , postamble?), got (ttcol ttcol ttcol ttcol ttcol ttcol c c c c c c c c c c c c c c c c c c c c CDATA c c c c)