Re: [rfc-i] getting SVG of RFC diagrams

Julian Reschke <julian.reschke@gmx.de> Sat, 25 November 2023 06:34 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: rfc-interest@ietfa.amsl.com
Delivered-To: rfc-interest@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55F8FC1519A4 for <rfc-interest@ietfa.amsl.com>; Fri, 24 Nov 2023 22:34:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.de
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3tHJExtsVIEn for <rfc-interest@ietfa.amsl.com>; Fri, 24 Nov 2023 22:34:38 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B83A6C14CE29 for <rfc-interest@rfc-editor.org>; Fri, 24 Nov 2023 22:34:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1700894073; x=1701498873; i=julian.reschke@gmx.de; bh=a2qWiiwKkskF95OtoiZXBh+DyYB6lK5zvcsnmtPBxcQ=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=Dzc+6y22Bl2uvAeQ8h8wIBX89ahTjt6IKGS4B72A+Jp2myfrt0+MPvLQ8glSBvCn SeHtHnckDrMhx5YkbXsFcOFqSbGG71LW/LciabxspnkmFkHy1KRNfvBEqubQkMRIU 15uodPxyyo2O1Yla+z5T7MAKPrTFHFUlV+FE/hwt3cgGgmINrG2UjlYho7If0dpuk qNMu6xYB/IHyUiIlx1JvsRuFNn9r0lbVIGKnCqeFyKnXjv5K49lm5sBCMJ9WxfdKJ 9RFeI3mcJaKpO8nGhUNYm6AZNq51dK2i5noABQ0v5XoKnXEqJ8+mVruLwGacxRrb9 WVmW/rhPY4JgrMHvOA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.182] ([84.171.146.165]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mlf4S-1rXcnz36Ze-00int2; Sat, 25 Nov 2023 07:34:33 +0100
Message-ID: <2e99ea6b-18c2-4d03-95f2-a6b85b2168eb@gmx.de>
Date: Sat, 25 Nov 2023 07:34:32 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: "Paul Duffy (paduffy)" <paduffy@cisco.com>, "rfc-interest@rfc-editor.org" <rfc-interest@rfc-editor.org>
References: <310371.1700735021@dyas> <7C81D316-7D04-4941-BEE5-6AE8C96F0DE1@tzi.org> <D1F8F86E-80D7-4FC7-B7B5-32648ACB5D65@tzi.org> <MN2PR11MB3757AF8CCDF388BA5CECFE1AB9B8A@MN2PR11MB3757.namprd11.prod.outlook.com> <153bde12-5773-42ce-bfdf-392e4492c06b@gmx.de> <MN2PR11MB375791C859512AB08EA20D11B9B8A@MN2PR11MB3757.namprd11.prod.outlook.com>
Content-Language: en-US
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <MN2PR11MB375791C859512AB08EA20D11B9B8A@MN2PR11MB3757.namprd11.prod.outlook.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:qDy7rjx4/pB36xUvq6eB4P/RLGrx7fgQFDQb9mI/cOmrFDKE4Nv rBBE3tHLvIWfQzXbCI5kyfaiHnJ9zYjt5aIdfdjconay74x7c16rTvAk1JHs1ag+e6NrpF2 5jGv6d6TB7IrE3g80pCW2B40q6P5nyYKYYAYk0DmZ/QdAWp3/ofJrHjocsl+EPOVtxLRDqu Cc2PtWB3o2KrB3Oa64atA==
UI-OutboundReport: notjunk:1;M01:P0:cJPikr+FWiA=;biqsYvtfJ+6+zE6g2GJd/on6rcf EpoBaG19wtFzg/U/rrevfmVrx26rja0aqz9/DP6yKCIb0MNQ/WtjuMwTt2cQ3t3pCPg4EKOC/ rhwWSMJ2UFD842S4U1+rKqatbzTaf0pRhtKj9aTH3wREoKAUEpbYfdNqVBhh/nIBmmJzTHx8Q kXuHabEggH/BYih90FerUpu3aq/lVPZisDETp1YOMXF9Dt0mg5Y0KrvqyNZep5vhC/XudZhiU KOZSUCAKZDkyEXCTS2ZNFQrr0hYWbeZYkmAfXwxJ0018QsuihGMTRQioe6VBQOwSqmJ/GigI3 v2DSkU7PRIqzQEUF/uEGcahLcWo/WF2laDEOZS1wYvAW66MkMsXjcWtU3gC6KStamgtdBngXB LX2ZmzVEQXpB3Q8YK8cmnNqqxFOynZaWv3JGUEIHa8xUVaPuSbJFp+qwZYToSYoN2JQ5MdYQY mHF2mU6g9KOJVOzoaJky5yNYLnwKNjq32G5bGdS+JFaemSL29JMt+rzmVIv+gVNDmH3ghDl8H kpTEffZ6NsL3bSJ5vzdXksHJ+1n2lH2p1K5qHOE1qsUC/oVMwyriK0dWQYrdEW4F6+UBXeS1W Q1JtK/yFnVkpcvtfNDipr4Qv+qOStQTgEdjGuQFP3631S/RS8clqzE2aCaNUPWoHq7WqQ3/iI 07EIXMtnGkLRdJe8EvcQoj/r8NELX8qPze/478OSx4I8JTYpUQexexYZm5ajVm/cwQgMGF5re am6j2yNbEXfzm07Q9qCjSgZ/QQ0PCp/etutz15j0q6lS92iDPx9i/+/hmXdWdibestqx5f3Vn 0zcAI7Mq29Tgf5gYjR7JyiDMDCgsT/7/7cdTd7Zov5yOzMVp98Z2IS6aXgD/M1Jp6orRkHmjE YI95a9EwoNyWNQCBnbrd0TFjlHBOfSl5I2YhMRluik4fyy2IRN34ChAzgiTgzJOoGRp2X8uBf 2N+SZg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-interest/EVOdstnb8XhMqPfGJOSS_8Eg6og>
Subject: Re: [rfc-i] getting SVG of RFC diagrams
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://mailman.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://mailman.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Nov 2023 06:34:42 -0000

On 24.11.2023 15:39, Paul Duffy (paduffy) wrote:
> Help me understand.
>
> https://datatracker.ietf.org/doc/draft-duffy-csmp/
>
> Section 3.2.1
>
> Originally provided as link to external OpenAPI. Super easy for developer to import that link directly into OpenAPI tooling.
>
> I was told this will not acceptable and must be inlined into the draft.
>
> ?

Authors can use

   <sourcecode src="filename"/>

so the file get's included by xml2rfc.

Once it is (like in your case), there are tools to extract it, such as
the one I mentioned. That one relies that the elements have anchors or
type attributes, so that the tool knows what to extract (and yes,
Carsten's proposal for heuristics to make this more automatic make sense).

Best regards, Julian