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

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

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C58E120833 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Tue, 12 Nov 2019 07:28:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.951
X-Spam-Level:
X-Spam-Status: No, score=-4.951 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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 2nr0KOmhJSpa for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Tue, 12 Nov 2019 07:28:55 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC9C012000F for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Tue, 12 Nov 2019 07:28:55 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 5BFE3F40712; Tue, 12 Nov 2019 07:28:51 -0800 (PST)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id C88EAF40712 for <rfc-interest@rfc-editor.org>; Tue, 12 Nov 2019 07:28:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vfQLowGzfqJc for <rfc-interest@rfc-editor.org>; Tue, 12 Nov 2019 07:28:49 -0800 (PST)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) by rfc-editor.org (Postfix) with ESMTPS id 810C2F40710 for <rfc-interest@rfc-editor.org>; Tue, 12 Nov 2019 07:28:49 -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>
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>
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
Subject: Re: [rfc-i] [Tools-discuss] missing line ends in generated TXT (from datatracker)
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Cc: rfc-interest <rfc-interest@rfc-editor.org>, tools-discuss@ietf.org
Content-Type: multipart/mixed; boundary="===============3502777882597709047=="
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

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

_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest