Re: [Rfc-markdown] [xml2rfc-dev] Compressed source in .xml file

Carsten Bormann <cabo@tzi.org> Tue, 22 October 2019 07:57 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0311E12004F; Tue, 22 Oct 2019 00:57:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 03HzERhFnSY9; Tue, 22 Oct 2019 00:57: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 413E1120047; Tue, 22 Oct 2019 00:57:54 -0700 (PDT)
Received: from [192.168.217.110] (p5089AE1C.dip0.t-ipconnect.de [80.137.174.28]) (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 46y5TX0PRvz10D4; Tue, 22 Oct 2019 09:57:52 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <7f50cc61-b2b5-5baf-d5d1-76e8316e2d37@gmail.com>
Date: Tue, 22 Oct 2019 09:57:56 +0200
Cc: "xml2rfc@ietf.org" <xml2rfc@ietf.org>, "xml2rfc-dev@ietf.org" <xml2rfc-dev@ietf.org>, RFC Markdown <rfc-markdown@ietf.org>
X-Mao-Original-Outgoing-Id: 593423874.2644939-8e5458e0532485215e0648df1d5bf0bd
Content-Transfer-Encoding: quoted-printable
Message-Id: <5DC05EA2-8565-4872-BFCB-E7EC7D4B5C77@tzi.org>
References: <E1iGMu9-00055y-Ui@durif.tools.ietf.org> <de4feaff-8f71-cd38-545c-2d848749251b@levkowetz.com> <f00a671a-6fe4-f5ae-2582-0b78ffa1c256@gmx.de> <1f18382c-d830-b887-f5d3-3f376ae4fdd7@gmx.de> <B15F7AF0-F5A0-401A-9F6E-F7E0E466B6A7@amsl.com> <f4f1b7ba-127a-fbfa-531b-eeff03814281@gmx.de> <71bc8d39-d06c-d900-cc8e-04a48218d75f@gmail.com> <0905DADC-E9D5-47A7-B610-F8A62686D2BD@att.com> <07DBAE10-D1FA-45C4-B7A2-321B265CA302@amsl.com> <694c9244-98ae-1e64-39ef-8756d48b36ef@gmx.de> <860c663b-744f-a033-cc50-96088bb1b33c@gmx.de> <04DCBCE3-2C8C-4B03-9081-EF2B7A5C6087@tzi.org> <b096e29c-02a0-e009-621e-c1eca4712226@levkowetz.com> <4321EEBF-92C2-4405-81BD-899C0FCAC762@tzi.org> <5593c2d9-0bb4-93e9-f5d0-babf194340bf@levkowetz.com> <6BF7D165-EA48-44C1-9153-3F011058561F@tzi.org> <7088451e-745b-a31b-88fb-bce9cb48696a@levkowetz.com> <ABC71A32-09AC-4020-B2DF-A7C1AF66B106@tzi.org> <1e0079b6-0cd4-4cb5-b0c7-e47ebb050b0c@levkowetz.com> <e145722d-60d9-d7ca-56cf-c6be24f053a8@gmx.de> <7f50cc61-b2b5-5baf-d5d1-76e8316e2d37@gmail.com>
To: Stewart Bryant <stewart.bryant@gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/WM1BfjN0RHDMJkoU00bk0b7T96k>
Subject: Re: [Rfc-markdown] [xml2rfc-dev] Compressed source in .xml file
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Oct 2019 07:57:57 -0000

On Oct 22, 2019, at 09:52, Stewart Bryant <stewart.bryant@gmail.com>; wrote:
> 
> I am trying to debug a problem where a co-author is getting different results from the kramdown system that I get.
> 
> We are using the online kramdown to rfc text system.
> 
> I have been sent their .xml file, and at the end it has the source in compressed format.
> 
> Presumably I can edit out the source into a file and then uncompress it, but I cannot seem to see anywhere what the compression format is in.
> 
> Please can someone tell me how to get the original source back from the compressed trailer in the .xml file.

[CCing rfc-markdown:]

Install kramdown-rfc:

  gem install kramdown-rfc2629

Use this command:

  kramdown-rfc-extract-markdown xyz.xml

I don’t think anyone offers this as a web service at this point.
(Of course, you can simply mail me the file…)

Grüße, Carsten