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

Marc Petit-Huguenin <marc@petit-huguenin.org> Mon, 27 November 2023 17:35 UTC

Return-Path: <marc@petit-huguenin.org>
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 CDE6DC14CE3B for <rfc-interest@ietfa.amsl.com>; Mon, 27 Nov 2023 09:35:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_FAIL=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
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 FSkjUvO4sgzD for <rfc-interest@ietfa.amsl.com>; Mon, 27 Nov 2023 09:35:11 -0800 (PST)
Received: from implementers.org (implementers.org [92.243.22.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C4F3C14E513 for <rfc-interest@rfc-editor.org>; Mon, 27 Nov 2023 09:35:10 -0800 (PST)
Received: from [IPV6:2601:204:e37e:6938:d250:99ff:fedf:93cf] (unknown [IPv6:2601:204:e37e:6938:d250:99ff:fedf:93cf]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "Marc Petit-Huguenin", Issuer "implementers.org" (verified OK)) by implementers.org (Postfix) with ESMTPS id 129ADAE534; Mon, 27 Nov 2023 18:35:06 +0100 (CET)
Message-ID: <e23dd20a-f8f9-4891-9219-25c61f914f20@petit-huguenin.org>
Date: Mon, 27 Nov 2023 09:35:03 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, Paul Hoffman <paul.hoffman@vpnc.org>
Cc: 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> <9D66A3A2-5516-4924-8B1E-420871D862C5@tzi.org> <8373b6b5-4a0a-4abb-8880-d618154b2f81@alum.mit.edu> <1F2DBD33-1553-4BBE-8ADB-115632C8373D@tzi.org> <d9b2052b-8f23-4cbf-99b8-9d2b85892fb4@alum.mit.edu> <75157E6C-99B3-4E17-8FFD-57A1D55E0CD4@tzi.org> <b9ba0201-13c6-420c-804a-180572083f02@alum.mit.edu> <8B573C04-4BDB-47B3-80B9-A2BE87A43AAF@vpnc.org> <2f28226d-8531-4352-908b-30ca6ac18ab8@alum.mit.edu>
From: Marc Petit-Huguenin <marc@petit-huguenin.org>
Autocrypt: addr=marc@petit-huguenin.org; keydata= xsFNBE6Mh9wBEADrUEDZChteJbQtsHwZITZExr7TAqT7pniNwhBX3nFgd+FrV3lsLKJ1rym2 52MAYpubXEJZGzMp6uCCAnROWbtmQbOm8z/jHnjxHhPqfuYCYPpAQqu8K/Sc194Rp37krMwB jz32yr7+gvWLzRgQGKIh9d2mzy8QLMETVWWQWGb6fEfpOxXo0wumN1rc/275kZwOu44JIPGg zbgwZd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FOqX64VWePQ9QZp kkzAUmIJwQ2Kmcmfrs0J5w2Lf5qaNji25fQYbon0eUFy6eN3BNRSIcg0+OsH7HubTWfpZeJu B7V7k8OFt2+HDx7aNdNutDJIu4V25AzGfonARQzJK62cmB0pwYXpcyDO152OwP12XbpXxXA1 xHGYQBRL98pSbMU5xsMw8j9VQHQRS94aT9Qqnz9SrYuISnMV2WGyIE0rAY3GGz3IcN5LVE1N vSP51ih+YJg/qsBYs8obbfEIZelOuznWf120RgV7P+7ZWCSBohmchuyELQzl9D7FXfulkXA3 RapKQcGJMVPIHYgnlvmE0OXfJl1z09nYRQHitoQhWtviHWl7x/KL42aUzHirLR61iVA2kqkO BhU+u+g2w8qrZj+lJfXIxlbVyLOuBVqkfcK28AR9RriB4Q5hvbDeQJMgfZsV2hBt7huBOqkH nnbSCguqfnmwLGkxoM7RVjCQwvC1M57uwdKMlsTVaBP0RreZnrDngLamK+ibXYe7p8pPAWD9 cuHvkkjML7cIfuvbScDYRmGzia3V9+LVzQCm+q/6xUY1SZvrDz7OaJOy3Xb1d+aPhYaNC0TQ 7IqA1dx8rZYQ
In-Reply-To: <2f28226d-8531-4352-908b-30ca6ac18ab8@alum.mit.edu>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------f6BNs50AiCCOxkAaG4FzRTEz"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-interest/TkhAT-lxHLSfAknCZRWpDsmdA78>
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: Mon, 27 Nov 2023 17:35:15 -0000

What I believe we really need is a better id2xml program.  I'll financially contribute to a Kickstarter/Patreon with that goal.

On 11/27/23 09:21, Paul Kyzivat wrote:
> Paul H,
> 
> On 11/26/23 6:07 PM, Paul Hoffman wrote:
>> On 26 Nov 2023, at 14:53, Paul Kyzivat wrote:
>>
>>> OK, it seems Carsten and I are in violent agreement.
>>> Can we hear from some others here on rfc-interest on whether this is popular enough to pursue further? At some point it probably needs to be discussed on the tools list.
>>
>> This discussion started with "I want to be able to extract $x" and veered into "the RPC should be making $x available to everyone for every RFC". A different path would be "it would be nice if I could extract $x from one or more RFCs locally".
>>
>> Given that no one has asked the original question before now, it seems likely to only be needed by a small number (maybe less than a few dozen) people. Thus, a discoverable tool that does it might be better than making the RPC add the tool and the process for everyone.
> 
> Its already "possible" to extract this stuff, if you are sufficiently knowledgeable. At the most basic you can extract what you want from the xml using just a text editor.
> 
> We are discussing how to make it easier while requiring less specialized knowledge. What to do of course depends on what users we are trying to address. There are many potential uses for this capability.
> 
> My interest came from working on a bunch of sip documents that define syntax using ABNF. The core defining document for sip is RFC3261. Its ABNF is large self contained except it uses the ABNF core rules. It references SDP (RFC237) but their syntax is independent. There are quite a lot of follow on documents that extend and revise RFC3261 and/or RFC2327. Many of those contain new ABNF describing their extension as an addition/revision of the ABNF in prior documents.
> 
> Validating the ABNF of one of those documents requires extracting it from the document, then identifying (recursively) other documents containing referenced ABNF, extracting that, and merging all of that. Only then can the ABNF be validated.
> 
> This was sufficiently painful that it was rarely done. While I did it a few times, usually it was expedient to just validate the new ABNF and manually check that the undefined rules were defined in the referenced documents. Other sorts of possible errors such as conflicting definitions of rules could easy slip by.
> 
> I would like to see tooling that automatically validates ABNF when documents are submitted. Doing so would require a tool that extracts ABNF from already published documents. The same mechanisms would also be important for an implementer who wants to compile all the ABNF into a parser.
> 
> This automatic validation should of course extend to other sorts of sorcecode in document, such as json and yang. So tools to automatically extract that would also be needed.
> 
> So I see the current proposal as part of one step down this path to further tools.
> 
>     Thanks,
>     Paul K
> 
> _______________________________________________
> rfc-interest mailing list
> rfc-interest@rfc-editor.org
> https://mailman.rfc-editor.org/mailman/listinfo/rfc-interest

-- 
Marc Petit-Huguenin
Email: marc@petit-huguenin.org
Blog: https://marc.petit-huguenin.org
Profile: https://www.linkedin.com/in/petithug