[xml2rfc] 1.3.12: Do not accept empty output from xml2rfc web service (Re: [Rfc-markdown] [xml2rfc-dev] New xml2rfc release: v3.0.0)

Carsten Bormann <cabo@tzi.org> Thu, 03 September 2020 08:41 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 338663A0C04; Thu, 3 Sep 2020 01:41:57 -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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 Qffz9YgRIc2E; Thu, 3 Sep 2020 01:41:54 -0700 (PDT)
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 B0A313A0C25; Thu, 3 Sep 2020 01:41:54 -0700 (PDT)
Received: from [192.168.217.102] (p5089ae91.dip0.t-ipconnect.de [80.137.174.145]) (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 4BhvS10hvczySK; Thu, 3 Sep 2020 10:41:53 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <6C0D565D-A7FD-416B-90B9-C9A03FE73953@att.com>
Date: Thu, 03 Sep 2020 10:41:52 +0200
Cc: XML Developer List <xml2rfc-dev@ietf.org>, XML2RFC Interest Group <xml2rfc@ietf.org>
X-Mao-Original-Outgoing-Id: 620815312.673866-73a6ff949dbb1eb5e361bb8f3a5ae406
Content-Transfer-Encoding: quoted-printable
Message-Id: <13E83C13-3C71-47B8-A519-124E72EFB687@tzi.org>
References: <E1kDR4G-0008G7-M9@durif.tools.ietf.org> <207F74B8-412D-4D74-AC1F-67C252FCFE56@tzi.org> <3e7ed8f3-fd40-be1c-5efa-5460e68827b9@levkowetz.com> <CA+RyBmVHCr6O_WcrwEAM5QJ+EarTAZ+2d4Xqc1GdfE15+Q3LiQ@mail.gmail.com> <6C0D565D-A7FD-416B-90B9-C9A03FE73953@att.com>
To: "rfc-markdown@ietf.org" <rfc-markdown@ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/7oyQ2NFHGxoXPzBdqgCShVzkzuM>
Subject: [xml2rfc] 1.3.12: Do not accept empty output from xml2rfc web service (Re: [Rfc-markdown] [xml2rfc-dev] New xml2rfc release: v3.0.0)
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, 03 Sep 2020 08:41:57 -0000

On 2020-09-03, at 03:16, HANSEN, TONY L <tony@att.com> wrote:
> 
> Henrik, the xml2rfc executable appears to have disappeared from durif.

Which triggers a bug in kramdown-rfc’s driver kdrfc when used in remote mode (xm2rfc not installed locally):

kdrfc -r3 foo.xml

…happily accepts the empty output file (which comes with a 200 status code and the right media type) from the web service.

Fixed in kramdown-rfc 1.3.12 (well, there is now an error message; can’t fix the web service).

Grüße, Carsten