[xml2rfc] Cannot Fetch DOI citation

Armando Faz <armfazh@cloudflare.com> Tue, 07 June 2022 23:21 UTC

Return-Path: <armfazh@cloudflare.com>
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 A88B6C14F744 for <xml2rfc@ietfa.amsl.com>; Tue, 7 Jun 2022 16:21:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.com
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 97fz9yB8aapv for <xml2rfc@ietfa.amsl.com>; Tue, 7 Jun 2022 16:21:46 -0700 (PDT)
Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 2CAC9C14F73A for <xml2rfc@ietf.org>; Tue, 7 Jun 2022 16:21:46 -0700 (PDT)
Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-2ff7b90e635so192182757b3.5 for <xml2rfc@ietf.org>; Tue, 07 Jun 2022 16:21:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=HvxGdpMkMQx2hHME8riN13YNPW2lhRRk8+WWtKEMZXg=; b=MmOcOF+CaIwo9WG5p+ZdyebMlKiMASdHLAmNHr0a4+PGmKRKf7X6zxJDUv9snbFHhO ZlUVQmYsKA55RTC9PEcc9fYe05+SEbzZlPULXKm2/6QQGbKGvWTUyRib2VZDpJKmh1hA r+9lL8rh6a0SX3uR8ey72A8QWLyJbyLYxfq3E=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HvxGdpMkMQx2hHME8riN13YNPW2lhRRk8+WWtKEMZXg=; b=iueZAajqTT0h4sncyFwfL3DwHZS8QBZ3fpHkrMoqc5YNMV5T5UEDHvgPNqmJDdhyif +8TPKiPpmwfXZ4YtWyWCxeuS9fanl3jURXk4JNL9HLlsApumbm0VtAopRbEhIOOptiRW dvANk5fi8VROKu0h7A0pFzrbplo/W0671hZXh/w0lfpYftx9IlKgt5oneQHnmFH4TyPj hnoSQdXKN2jwED/uIgZpiNoYTZjVbzexPqJlFbVDT10swULecCunHv6Q7H0J+Ss/tGOO 9ZvfSHUWsO/mHblBMS0rHCEHEgNEU7Ndb+vSNqjLY1UaXOOtEE9ubDhr//B2DkqQCOd2 sZTw==
X-Gm-Message-State: AOAM531x8OwmKbnKfk+EpRkAtZ4X6QR6JO4qqjC/BySua8c8yQuWLKce Z7ruGa/ZOi+/o8zx84fEFTpKnAsbdgprwEt5ErKX1jtV01pYOA==
X-Google-Smtp-Source: ABdhPJzBJm8Ezzb8LcSeCNw/TxLnwaL5yKiQfFVhgxUpkueFy2qMLCIjOVBNeiGgFpMzSqhrp17TPwh73djrJPly45w=
X-Received: by 2002:a81:2443:0:b0:2eb:4ffe:fab2 with SMTP id k64-20020a812443000000b002eb4ffefab2mr34752326ywk.330.1654644104745; Tue, 07 Jun 2022 16:21:44 -0700 (PDT)
MIME-Version: 1.0
From: Armando Faz <armfazh@cloudflare.com>
Date: Tue, 07 Jun 2022 16:21:09 -0700
Message-ID: <CABZxKYn4hn082jMy7-vMF+BAYWS8ivMSFhRjxPScxsQOqmUXWQ@mail.gmail.com>
To: xml2rfc@ietf.org
Content-Type: multipart/alternative; boundary="00000000000017f9c705e0e3da0d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/aNZM8xLyj4B_qJ0wkJ1FGBO2brQ>
Subject: [xml2rfc] Cannot Fetch DOI citation
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: XML2RFC discussion list <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, 07 Jun 2022 23:21:49 -0000

Hello,
I noticed some DOI citations are not retrieved using the tool [1], which is
the same endpoint used by xml2rfc.
I looked at the code [2] and I was able to retrieve locally almost any DOI
document following the test script [2], but I cannot do it with any of
these URL endpoints:

http://xml2rfc.ietf.org/public/rfc/bibxml7/reference.{DOI HERE}.xml
http://xml2rfc.ietf.org/public/rfc/bibxml7/reference.{DOI HERE}.kramdown

Examples:
don't work ->
https://xml2rfc.tools.ietf.org/public/rfc/bibxml7/reference.DOI.10.1007/978-3-642-14623-7_13.xml
it works ->
https://xml2rfc.tools.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/3472951.3473503.xml

Downloading DOI information for citations is really useful, any idea about
this issue?

[1] https://xml2rfc.tools.ietf.org/
[2]
https://github.com/ietf-tools/xml2rfc-website/blob/main/public/rfc/bibxml-doi/makefile#L61

-- 
Armando Faz
Cloudflare Inc.