Re: [Tools-discuss] Links from HTML I-Ds to datatracker/latest versions

Brian E Carpenter <> Thu, 11 March 2021 01:14 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id D93573A0934 for <>; Wed, 10 Mar 2021 17:14:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id dhOtoYvSuNvD for <>; Wed, 10 Mar 2021 17:14:30 -0800 (PST)
Received: from ( [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 399723A0928 for <>; Wed, 10 Mar 2021 17:14:30 -0800 (PST)
Received: by with SMTP id s7so9399936plg.5 for <>; Wed, 10 Mar 2021 17:14:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jjiG4G86+Noe11QbYGiSc9JfoHwa0kE9wQj7gKOx5X8=; b=LOtrf+kEOSg8GqBbdKtF2Pm6KTd8byfULgJXNpgZDfuyBuXdYNW2roohZhMp2fTJ7L 68JRN9ZsjrlRArovssks1RAQYU32Ky8sHqitHMoS5+iSKsbuMuRi4fGNcZkY2ukNBAxh r6Gws/VYLLrGYrev27hNwm62TTmoZw7zsw1zn68kVR3cTiAVsHNTvrnGFswl6aowd2NP J3AF69Rz1fi3UOgP3jXuhklwQButvS4LMtwshbvXRGvD8FuIk/V/EdjcppXUi0I3HrhX IkIIQyamFjcZwYezuNF3vj1/bDXCQETIdNLC4x7Se+STSgqdBf4z5ihb7zvOV55gOrbT DWuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jjiG4G86+Noe11QbYGiSc9JfoHwa0kE9wQj7gKOx5X8=; b=julvgP0RkMcTX111h2KOSNaQW8vL4xoa0XBcxkH5dTcFta0qJLXGjMrTofUS2jVFwt q9d+KbNgenAq6hSgt0/RpU5YPuAEtIe77HF5ZY9rypslDSj7VdUGrMpWhKwUFUicZ5b3 jE22KBt8yC5YvXP9HLI4xxGz/iO4kINkvvATN+63tFx9DeStJOQVlZBmAONGWa3ocVmr ErBTgpNhvRyFbLadocln5RQTPoUlH90zkQl6VEeNZ244PlIpLATJO3gpQnF10Fmu5HxU b6xNhLVw5SfBtgg83i8Cn4Vcn3ljJeldeHKXWVPR4oICFfpYZGpULtrJPJ7gFTAI5U3P ElhA==
X-Gm-Message-State: AOAM531MJWlVC89gDxtgtta1l+B9u6KJpSV73GyQCpRf1UqrvbX9Jv5T dhHgxm6aYVvbvuT2ziauOeY8ZNIUOD9IBw==
X-Google-Smtp-Source: ABdhPJznsitsd0ogTYyt1z9DJcNNUKGtwwagyz/E7jSEQ1Wk5dTKsQTRehC3dZeDl0sWY7ioACeJdw==
X-Received: by 2002:a17:902:8a91:b029:e6:3e11:b252 with SMTP id p17-20020a1709028a91b02900e63e11b252mr5580752plo.7.1615425268232; Wed, 10 Mar 2021 17:14:28 -0800 (PST)
Received: from [] ([]) by with ESMTPSA id u7sm604249pfh.150.2021. (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Mar 2021 17:14:27 -0800 (PST)
To: Jeffrey Yasskin <>
Cc: Jeffrey Yasskin <>, Tools Discussion <>
References: <> <> <>
From: Brian E Carpenter <>
Message-ID: <>
Date: Thu, 11 Mar 2021 14:14:23 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <>
Subject: Re: [Tools-discuss] Links from HTML I-Ds to datatracker/latest versions
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 11 Mar 2021 01:14:32 -0000

On 11-Mar-21 12:29, Jeffrey Yasskin wrote:
> On Wed, Mar 10, 2021 at 2:15 PM Brian E Carpenter < <>> wrote:
>     On 11-Mar-21 09:02, Jeffrey Yasskin wrote:
>     > I've noticed that the native-HTML version of internet drafts, like
>     >
>     > 1) Don't link back to the datatracker's description of the draft:
>     > 2) Don't link to any later versions of the draft:
>     > 3) Don't have an easy way to find a version-independent URL, like the htmlized version provides at
>     >
>     > This makes it dangerous to link to native-HTML versions of I-Ds because readers don't have any way to realize that they're reading an old version.
>     Really? When I tried with your draft -03, the links to updated drafts gave 404 errors.
>     > I haven't dug into which tools would need to change to provide such links. Probably both xml2rfc and the datatracker itself? Are there issues with the /archive/ path segment that might imply these files can never change to incorporate the fact that the latest available version does change?
>     afaik, if your xml (v3) looks like this:
>     <xi:include href=""/>
>     the html rendering will point to the current version at the time the xml file is converted, but via the tools server. The top bar there gives you the versions up to date. There's also a link to the tracker.
>     (That will have to be changed of course when <> goes away.)
>     Looking at your -04 draft, that's exactly how it is, so whatever caused the wrong links in the -03 draft seems to have been fixed already.
> I think you might have confused the htmlized version (, which has the cross-links I want, with the native-HTML version ( that has better typesetting and table of contents, but is missing the cross-links I mentioned above.

I still don't understand what you want. The htmlized version has links to

which are essentially identical. The native HTML version links only to the second one, but I'm at a loss to see what's missing.

> I'm not sure where the mention of <xi:include> came from, as it's not in my XML version at all (

Well, that's just the short way to encode I-D references in xml2rfcv3. It looks as if kramdown does it a more noisy way. I guess it's irrelevant.