Re: [xml2rfc] XInclude should be used instead of PI include

Kesara Rathnayake <kesara@staff.ietf.org> Tue, 27 June 2023 00:26 UTC

Return-Path: <kesara@staff.ietf.org>
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 93899C1516F2 for <xml2rfc@ietfa.amsl.com>; Mon, 26 Jun 2023 17:26:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.896
X-Spam-Level:
X-Spam-Status: No, score=-6.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (2048-bit key) header.d=staff-ietf-org.20221208.gappssmtp.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 1RM81fmU3Xjz for <xml2rfc@ietfa.amsl.com>; Mon, 26 Jun 2023 17:26:37 -0700 (PDT)
Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (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 E70BBC151552 for <xml2rfc@ietf.org>; Mon, 26 Jun 2023 17:26:37 -0700 (PDT)
Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-986d8332f50so493313066b.0 for <xml2rfc@ietf.org>; Mon, 26 Jun 2023 17:26:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=staff-ietf-org.20221208.gappssmtp.com; s=20221208; t=1687825596; x=1690417596; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kRLdwa9qhTOm3kmcwNZDy6apDiPinYR8X+443jVNj0Y=; b=dBLwWeeP47BLQwcLOEhz8u9tbuoaM/EGywmg4OQnK9+Yh6hseeALpS9IU1O6pDNMB7 RqtsOWPPurosM/YZb5cVqiMCU0bN9N4XYJvJRDhNt0KG20F21UqCg4SHwNTZ29SDP7i1 TkH3GectUS4oNCAtrnTGA13qfSPdi5e7BieMDBc9sWm0NvUlTn9NtPPxsuwd+IDeF8dU jP12/CKE8H91CgUg5Te4TDbEls+CngXFZB8BMm4rBVNmyRtq2oNWNKNHQtQC8gHa4t8i ooQ2jKoF/ZGXw1D4ufa8U+pzGG+g3qmO5gd1XhU77bfl6yrIUm0Df/9oG1C1A4aLWMDf A9/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687825596; x=1690417596; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kRLdwa9qhTOm3kmcwNZDy6apDiPinYR8X+443jVNj0Y=; b=Nblswmiuh45slSnsAzPlp8mG1zP/b4SYQFhK5II3cYNJMqxxDqiSV2SUKh9pVr/O8q aPa+pzMyQszdMsWGqBPC9ACwYe5kbI1w4QHh2cI45oSyJscn9yynJCP3Od8eHxsrr4Km kR8ZjPiEqBBc4HJUDyEvgJzlGVlU2ViTweQn5VyGUuYh/Vx/w2+foe7pE5FGxtX5xL1c XKUdGC8JMc3hHOaRgaKJxK/FlalJZLLUUb7CRFltVIXsStp+nmPP2bGxJzMRk7OiFrk4 57DHCeBsFsjj66wE/WSv7GNa57c96yw3Crj+CyC2pPypAGlqy3Xtv5YMlqVwkxCj5IVk 48iQ==
X-Gm-Message-State: AC+VfDycEoSD77Q7s+dtB6mq4MzkLuBDShnAZdNrVxzmLsZFOqBRgH2q 48U8aECWujED2G3koy9Q/K6lmydqPtJn628l4F9yp6XEVKjoYyg72rY=
X-Google-Smtp-Source: ACHHUZ51olU9ubrmpXVgJoga7/UePDpLjMtTYliCxuxpiGz6eFMGZRK1H161FI1g1zaP/5hypkXxbbOaSdJEFvemlvc=
X-Received: by 2002:a17:907:168f:b0:98c:e3a1:dbce with SMTP id hc15-20020a170907168f00b0098ce3a1dbcemr13872340ejc.54.1687825595634; Mon, 26 Jun 2023 17:26:35 -0700 (PDT)
MIME-Version: 1.0
References: <m2v8f9ua1d.wl-randy@psg.com> <1C2D7469-A3FE-4029-9F5F-649E2AC3B390@nostrum.com> <m2ttutu5b9.wl-randy@psg.com>
In-Reply-To: <m2ttutu5b9.wl-randy@psg.com>
From: Kesara Rathnayake <kesara@staff.ietf.org>
Date: Tue, 27 Jun 2023 12:26:24 +1200
Message-ID: <CAD2=Z86oWFs6yPm6Fzt1S4HbFJnP8t=qE58c8NnFo-L=UouRiw@mail.gmail.com>
To: Randy Bush <randy@psg.com>
Cc: Robert Sparks <rjsparks@nostrum.com>, xml2rfc@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/0Py3FoAD9EtrlQEcvzZbr8HXKnk>
Subject: Re: [xml2rfc] XInclude should be used instead of PI include
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, 27 Jun 2023 00:26:38 -0000

Unless I'm missing something obvious here, xml2rfc has implemented
"XInclude" similarly to RFC PI include.
Both look at the cache directory for the BibXML first.
So "XInclude" will work offline if you have BibXML references in the
cache directory.

  --Kesara

On Tue, 27 Jun 2023 at 12:17, Randy Bush <randy@psg.com> wrote:
>
> >> i need to build when there is no net connectivity.  this is why i
> >> have rsunc repos.
> > I hear you
>
> i suspect others have similar needs, or i would not whine.  i just want
> first dibs on the refunds.
>
> heck, i can build all of the dayjob software stack on my laptop while
> off net.  takes a while, i'll admit. :)
>
> randy
>
> _______________________________________________
> xml2rfc mailing list
> xml2rfc@ietf.org
> https://www.ietf.org/mailman/listinfo/xml2rfc



-- 
Kesara Rathnayake
Senior Software Development Engineer - IETF Administration LLC
kesara@staff.ietf.org