[rfc-i] Code embedded in RFCs
pkyzivat at alum.mit.edu
Fri Jun 28 08:21:09 PDT 2013
As an alternative to the suggestions below, I'll suggest that there be a
URL format that returns the code body when dereferenced.
On 6/28/13 11:10 AM, Dearlove, Christopher (UK) wrote:
> It's been suggested to me that this is the appropriate place to bring up something I raised on the IETF list.
> My interest was (is) in RFC 6234, but other examples have been given.
> RFC 6234 contains embedded code. Extracting that is possible (and a tool that performs part of the task has been pointed out) but it's not very efficient if everyone has to do that. One participant o the list indicated it took him twenty minutes to extract and verify.
> Instead, would it not be more sensible if the RFC Editor maintained, together with any RFC containing code (this could probably be limited to code that spans more than a page) the code files. Or (an alternative suggestion that has been made - though I prefer the former) a suitable form of script to extract the code. Apparently (I have not followed this up) some RFCs include such a script.
> In reply to one comment made about maintaining code versions, that is not what is suggested, but rather the snapshot of the code that is embedded in the RFC. (There might be an issue if any errata applied to the code, but let's walk before running.)
More information about the rfc-interest