Re: [Tools-discuss] [rfc-i] missing line ends in generated TXT (from datatracker)

Henrik Levkowetz <henrik@levkowetz.com> Tue, 12 November 2019 15:28 UTC

Return-Path: <henrik@levkowetz.com>
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 3975012006E for <tools-discuss@ietfa.amsl.com>; Tue, 12 Nov 2019 07:28:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 08-zl9To6hR7 for <tools-discuss@ietfa.amsl.com>; Tue, 12 Nov 2019 07:28:54 -0800 (PST)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [64.170.98.42]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A5E812000F for <tools-discuss@ietf.org>; Tue, 12 Nov 2019 07:28:54 -0800 (PST)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:58246 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1iUY5x-0006mm-KD; Tue, 12 Nov 2019 07:28:42 -0800
To: Dave Rice <dave@dericed.com>
References: <20285.1568652805@localhost> <705AA16B-68B1-4B5E-AE47-0714F6781C1A@dericed.com> <26105.1568818137@localhost> <E70CD0FF-0294-47E5-873F-5E184A248577@dericed.com> <1268.1568828850@localhost> <B4047303-E2B9-4B9D-B368-2ACC85A06D15@dericed.com> <15814.1569013442@localhost> <3a8f5865-9f5c-8c65-63be-bca31c5f1c86@levkowetz.com> <3650B5EF-A442-4291-928A-2FCB2144134C@dericed.com> <06122b6d-d5f9-30b9-2db4-a2427d299a1f@levkowetz.com> <CB32A50B-D6F2-41C4-8AC7-750E35F4941D@dericed.com> <97e68838-ac0c-25e4-67a9-a2a998b6e8af@gmx.de> <3ef6a53c-e18a-9fc7-8324-67f388acd32f@gmx.de> <60a9d29f-03ef-5842-0c21-6930293759da@gmx.de> <cf651c95-9a22-775e-16d9-ebfdc9ee6ed0@gmx.de> <730f143a-f751-e367-22ad-f1fbf53b1c5a@nostrum.com> <6b05a391-ad8c-285a-b8bd-c5f13fbfa260@gmx.de> <83EE89DB-B6EB-4495-A5B9-2793BF22F220@dericed.com>
Cc: rfc-interest <rfc-interest@rfc-editor.org>, tools-discuss@ietf.org, Robert Sparks <rjsparks@nostrum.com>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <2d06c521-0218-e3d4-61e4-cc329369f4aa@levkowetz.com>
Date: Tue, 12 Nov 2019 16:28:33 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <83EE89DB-B6EB-4495-A5B9-2793BF22F220@dericed.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SFuX5tUgUETnR99JOKWrXwPK1lcqcEMAp"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: rjsparks@nostrum.com, tools-discuss@ietf.org, rfc-interest@rfc-editor.org, dave@dericed.com
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/dbaRCU6I_T38kGdosjXR2UdUb5M>
Subject: Re: [Tools-discuss] [rfc-i] missing line ends in generated TXT (from datatracker)
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 12 Nov 2019 15:28:55 -0000

Hi David,

On 2019-11-11 22:23, Dave Rice wrote:
> FWIW, for the cellar working group, we pipe our rfc xml through sed
> to find all occurrence of <sourcecode> and replace them with
> <artwork>. It’s a loss in semantics but seems to workaround this
> issue for now. We’ll watch the progress of the ticket and remove our
> workaround when it’s resolved.

Another workaround is to generate the txt file yourself, and upload with
the XML file.  I've started looking into why standalone invocation of
xml2rfc handles <sourecode> correctly, while invocation as a library
function looses newlines, but I don't have an answer yet.


Best regards,

	Henrik