Re: [Tools-discuss] page number-less, section-number-less references to Internet-Drafts

Julian Reschke <julian.reschke@gmx.de> Mon, 07 December 2020 14:22 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50F823A13EB for <tools-discuss@ietfa.amsl.com>; Mon, 7 Dec 2020 06:22:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 LjqhsuNlBqj1 for <tools-discuss@ietfa.amsl.com>; Mon, 7 Dec 2020 06:22:36 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F7973A13E9 for <tools-discuss@ietf.org>; Mon, 7 Dec 2020 06:22:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607350953; bh=td4SxyMEuulonmAsr812qAPbXHZLvrjedGapdthk7rc=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=IYOUkSTYM1i6lKBgi88Q9GRiZpglnskQOtf9bhuqTMoNlR5i1pZo5laJpJ4ILe/mv 3JvxDfMkKEsHMMhaDj/bOUMTiX//YrUDzBajP6M8MH+yx0keRWjSdobWnXfhdsDA+c Ius4ScwsdvWpJddr6S5Uk27h/3R9swD4ei8AClaM=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.236] ([5.10.171.186]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N0X8u-1jyya50xam-00wSl0 for <tools-discuss@ietf.org>; Mon, 07 Dec 2020 15:22:33 +0100
To: tools-discuss@ietf.org
References: <24953.1607349761@localhost>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <bf2c4069-aa7f-fbe2-fec1-c84d399ffba0@gmx.de>
Date: Mon, 07 Dec 2020 15:22:32 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1
MIME-Version: 1.0
In-Reply-To: <24953.1607349761@localhost>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:Vr6XQz/wAMpaw4wqokSmeqUO8H/VSnnU8fJJkoONvc0B8iSVzYk Sx4jK17hzK5rnHBxVDayyW5KUNrf9rDSIOTn4GpO2kYIJHSPgo9aI54Op7ct94OJefN5zDQ UN0Ap5b8V0QRLOwTBtNFHct/diHenN/Lo1xr+ohz2U6fu3PCSU/GadI+/zSz9OCuHphqsal S0nW2H5wjpOLWAP2ynJDw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:/V9n/zmyNHc=:U0tGsv5fRVAl6GqlpIpx0B eO2XlgniJf1JXkHl7ww6ZcoZtT4hMlUPh/Hf2n/PHurcoGAekot3bKqfkKo65sK+YO9faCIc7 FIsvHm5GfgTI3bJWRODhWAs1tqFO5jgJYbcGwWXgGOoV9vlSHA1GH6SPpc//y6EyMDJCoKhlD o7WwzXEC+YoT+5vPtZV+YZa4F1kv7oYZBWUbnBIAhzBAfBANcNVE4dTdSMVR9UlcTzMCVYaOM D0jqkxtSPgZKWVtvLW4+sX2A0zEIEPRhLOC+Ygl+x//1qoEWnwPePVavYSVNB14QIBOFSnLKk nbTbdc9TA7zP0VxBTkhGJWfKoIgrn13YAb8xRbN0uoFWOLQ1XemvtdDcLlbLAdB7jAM7f4v74 LQyZlJvvRqFuOFEdSzpf/UNKLQGV4iap3rXiGhITBhqlPifjbspK4fFJkkAkgzEPmlQ8r7e3H NLCS9dbqbCl9L18nljvuZhfW+STrXNZ4vWJXk3eUwhSyF5zQCmgwYtzLzC919FrAO26KxWnuM z+mDXsDU4wwFArPHpTZWUsJuauPIX2QDwvBGNwH5lLBiN/T3ETYBPBEify4YAFwwSoH4S0zkn EJMWc9izqWopBtyV5mAWhOQIfWWaE5ZnWRWs4baDJ6Zra9ZZUhD63JFt+xULIDI1CQn5DX5LW TI/4QiKLRkMM6/ZtdA77+jS+VPcsbTEwutnHZdd8kKbGNXTMkZpqEi6P+CIvDXiZ0i+opf50a nML77ruV1AUlQT0akOxS//hCYVeNlc0gjmA1XljndPTRW8VVlVzf37Yy31G6D9CwmqjxyGYOd oV/wRcR0ZjDNPsypDsgdmnYxr/6rlq3ndqwOzLEZVSLcuLbLfa+gXkWIN/vCCL+oZcLjqH3Ym FpaHzws821AH2Ph5etqw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/YwdBF6IpC_DF5ajfMCUVFgqyeJw>
Subject: Re: [Tools-discuss] page number-less, section-number-less references to Internet-Drafts
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Dec 2020 14:22:38 -0000

Am 07.12.2020 um 15:02 schrieb Michael Richardson:
>
> In the great pagination debate, it was asserted that people ought to be
> writing reviews, and the like against section anchors rather than page
> numbers, line numbers or maybe even section numbers.
>
> Right now, one typically refers to another *RFC* as:
>        <xref target="RFC1234"/> section 1.2.3.4

Typically, it should be

          <xref target="RFC1234" section="1.2.3.4"/>

or

          <xref target="RFC1234" section="1.2.3.4" sectionFormat="comma"/>

which would yield

          Section 1.2.3.4 of [RFC1234]

or

          [RFC1234], Section 1.2.3.4

And no, this syntax is neither in RFC 7991 nor 7991bis, a proposal is
here:
<https://www.ietf.org/archive/id/draft-levkowetz-xml2rfc-v3-implementation-notes-11.html#section-3.1.26>

> This is tolerable because once published, RFCs can't change so the numbers
> are stable.  I don't think that we ever link directly the section itself.
> (Or does htmlize do that for us...)

Yes it does, so does xml2rfc v3's HTML output.

> In internet-drafts it seems that this is really fragile thing.
> Particularly among a group of documents that are co-evolving, I've often had
> to figure out what the section numbers are after a change, and it's not
> always obvious until some months later when a reviewer is confused.

WHich is why I recommend to reference concrete versions, so that the act
of updating the reference is something that doesn't happen in an
uncontrolled way.

> So my questions are:
>    1) is this something anyone other than me cares about?

Yes.

>    2) probably it involves revision to XMLv3 to make this possible,
>       and I assume that is a hard thing still.

The vocabulary itself doesn't help here yet.

For specs that co-evolve (such as the three HTTP core specs), I have my
own extensions in rfc2629.xslt, so that I can use the section anchors
instead of section numbers. This requires a preprocessing step if you
want to feed the output into xml2rfc.

For other specs (QUIC), I locally run a filter on the XML which embeds
section link target metadata (anchor name and section title) as
processing instructions, so at least it becomes clear *what* the link
target is, and it's easier to track if something changes (if you're
interested in this, I can publish it).

Best regards, Julian