Re: [xml2rfc] Adding an anchor to references?

Julian Reschke <julian.reschke@gmx.de> Tue, 04 February 2020 22:51 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 997D5120130 for <xml2rfc@ietfa.amsl.com>; Tue, 4 Feb 2020 14:51:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 JKKExt3M_e_U for <xml2rfc@ietfa.amsl.com>; Tue, 4 Feb 2020 14:51:35 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40BC4120132 for <xml2rfc@ietf.org>; Tue, 4 Feb 2020 14:51:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1580856691; bh=x/qpqvhNpEALU+Wuar2gmSwiZY1Hn5kreW/zMxxdeSk=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=SOlk/1LhORwkdT1jVyNOMYC/YrxQk+hvOcSQ/lmP1o+zvwHWcbh3bK/tkBOUDKLNs n7lI37YapGhJYbdnOeDDu7TFzljS7kT93tSWszWfyOJMnKz1oMSLen6TlC3IG2x5WZ aO9T+0nk2WtOuJysXigeuE/5xwlIHbVdOsJ/uUqM=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [172.18.200.21] ([46.183.103.17]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mkpf3-1jOWLH2Y51-00mIHu; Tue, 04 Feb 2020 23:46:16 +0100
To: Robert Moskowitz <rgm@htt-consult.com>, "xml2rfc@ietf.org" <xml2rfc@ietf.org>
References: <116d2ab7-0a7b-e75f-d4a7-13cb6df5d200@htt-consult.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <55e84dc4-349e-9b37-77ef-2656ed473b6c@gmx.de>
Date: Tue, 04 Feb 2020 23:46:12 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2
MIME-Version: 1.0
In-Reply-To: <116d2ab7-0a7b-e75f-d4a7-13cb6df5d200@htt-consult.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:35SA5FhQIPoZEXHqaMLqVslNJqCVy2gk0KScD3Y1npnxM0UeMbU LrpJKmyju4EGIbjgAvOJp72JURHTgGAHDWnAZKnT+E9r/SdhpKh0f8TNaz+iKB+woDT+mHl eScBrSRD47BdnKcp1/tFJ2kRz0c2Pot13kb5BoZ6eJyga0UF3+ssQnf8/05Ed9gdPSx32jT fYRdcXHndRR+guc/rY5xQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:NCTHwMh+3Hs=:l2wOvQI+nHxV+RCidN0LVy eItzzowZj6hSffpk2s5WcRXnFD1hnso4qN/QErVG+R0hPrEeMgEc6OhU2uV8NZN1Yvgq09o59 qaoZ2BsreuceBDBzB2a31TgTLds4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4J wWMFt5nBdNu5d3APLAyk+gUiIxuUnlwex4OIe5UKemOwdLDIdzrADqmPzszuMeKQ5yQKz6a+Z sR4BzhSEe4VKakR8B
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/-HxA3FGxvnCg3_dmqfIhgj9txxM>
Subject: Re: [xml2rfc] Adding an anchor to references?
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Feb 2020 22:51:39 -0000

On 04.02.2020 22:26, Robert Moskowitz wrote:
> I have used:
>
>      <xi:include
> href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml7/reference.DOI.10.6028/NIST.SP.800-56Cr1.xml?anchor=NIST.SP.800-56Cr1"/>
>
>
> where I then reference this with
>
> <xref target="NIST.SP.800-56Cr1" format="default"> </xref>
>
> So I tried that with a regular Internet draft:
>
> <xi:include
> href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.moskowitz-hip-hierarchical-hit.xml?anchor=hierarchical-hit"/>
>
>
> But it did not work.

Whether the anchor renaming works depends on the service generating the
reference, not the vocabulary.

The different "folders" on tools.ietf.org are backed by different code,
so they do not behave the same.

> draft-moskowitz-tmrid-crowd-sourced-rid-00.xml(0): Error: IDREF
> attribute target references an unknown ID "hierarchical-hit", at None
>
> I did some looking into RFC 7991
> (https://greenbytes.de/tech/webdav/rfc7991.html#XInclude) and perhaps I
> should be using
>
> <displayreference target="I-D.moskowitz-hip-hierarchical-hit"
> to="hierarchical-hit"/>
>
> Somewhere in the <back> section?  Would that come before or after the
> xi:include?

See <https://greenbytes.de/tech/webdav/rfc7991.html#element.back>. So
yes, as (first) child element of <back>.

Best regards, Julian