Re: [Tools-discuss] Looking for a clue

Henrik Levkowetz <henrik@levkowetz.com> Wed, 17 April 2019 13:23 UTC

Return-Path: <henrik@levkowetz.com>
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 265201200C7 for <tools-discuss@ietfa.amsl.com>; Wed, 17 Apr 2019 06:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 eSIylFi3GvMY for <tools-discuss@ietfa.amsl.com>; Wed, 17 Apr 2019 06:23:37 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF02912008D for <tools-discuss@ietf.org>; Wed, 17 Apr 2019 06:23:37 -0700 (PDT)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:60872 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1hGkXI-0007It-Mr; Wed, 17 Apr 2019 06:23:37 -0700
To: Fred Baker <fredbaker.ietf@gmail.com>, tools-discuss@ietf.org
References: <06B7BDDD-E9E2-4602-B372-DDA3CA5A9C16@gmail.com>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <61e97182-4939-5ff9-9863-5babce2d4605@levkowetz.com>
Date: Wed, 17 Apr 2019 15:23:29 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <06B7BDDD-E9E2-4602-B372-DDA3CA5A9C16@gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="9U2hrNOuMDWsxE3SjO4D6sbKJuamse5XM"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: tools-discuss@ietf.org, fredbaker.ietf@gmail.com
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/3d6c_heHVUYMoRXC9TzwCsh3YRQ>
Subject: Re: [Tools-discuss] Looking for a clue
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: Wed, 17 Apr 2019 13:23:39 -0000

Hi Fred,

On 2019-04-11 00:21, Fred Baker wrote:
> I have had a problem with XMLMind on my laptop, and spent some time
> with Warren on that this morning. It turned out that I needed to
> reinstall the application from scratch. Now I have a different
> problem.
> 
> When I go to xml2rfc.ietf.org to try to compile the XML output, it
> tells me that it is
> 
> Using XML_LIBRARY=/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml2:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml3:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml4:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml5:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml6:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml7:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml8

Yes, and that's not changed.  That is however only germane for unexpanded
includes that have to be resolved from the submitted xml source by the
web service.

However, I have historically had a copy of the library on my computer, and in my .bash_profile have
> 
> export PATH=~/bin:$PATH
> set XML_LIBRARY=/Users/fred/In-Progress/XML_Library
> 
> Historically, it has used the library on my laptop. Anyone have an
> idea why it might be different now? Why would the tool override the
> configuration that I have been using since xml2rfc was created?

The web service will of course not have access to the files on your laptop,
but if you previously had XMLMind set up to expand includes in your xml
source before running it through the web service, it would explain things.

This can be accomplished by running xml2rfc with the --exp (--expand) option.

Of course, if that's the way you had it set up earlier, it also implies that
you had xml2rfc installed, in order to do the expansion, which would mean
that you may not have needed to use the web service.  Unless maybe you had
an old version of xml2rfc which was up to doing the expansion, but didn't
want to use it for output generation?

This is a lot of speculation, but the bottom line is really that there is
no way for the web service at xml2rfc.ietf.org to access the local files
indicated by XML_LIBRARY=/Users/fred/In-Progress/XML_Library unless you
do the expansion locally first.


Regards,

	Henrik