From owner-freebsd-doc@FreeBSD.ORG Mon Jun 16 22:21:25 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A54DC37B401; Mon, 16 Jun 2003 22:21:25 -0700 (PDT) Received: from sekine00.ee.noda.tus.ac.jp (sekine00.ee.noda.sut.ac.jp [133.31.107.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D35343F93; Mon, 16 Jun 2003 22:21:24 -0700 (PDT) (envelope-from hrs@jp.FreeBSD.org) Received: from localhost (woodstock.vlsi.ee.noda.tus.ac.jp [192.168.200.52]) ESMTP id h5H5LKAl028805; Tue, 17 Jun 2003 14:21:20 +0900 (JST) (envelope-from hrs@jp.FreeBSD.org) Date: Tue, 17 Jun 2003 14:20:26 +0900 (JST) Message-Id: <20030617.142026.104095785.hrs@vlsi.ee.noda.tus.ac.jp> To: sergei@kolobov.com From: Hiroki Sato In-Reply-To: <20030617043042.GA709@chetwood.ru> References: <20030616212143.GA717@chetwood.ru> <20030616223625.GB71605@rot13.obsecurity.org> <20030617043042.GA709@chetwood.ru> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-doc@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: textproc/xmlto: missing XML catalogs? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 05:21:26 -0000 Sergei Kolobov wrote in <20030617043042.GA709@chetwood.ru>: sergei> Well, it DOES try to fetch that DTD via HTTP. As far as I understand, sergei> the purpose of having the XML catalogs install is to avoid those fetches sergei> by mapping URLs to local files. sergei> sergei> Now, is there a port that installs or builds XML catalogs? DTDs in the ports collection install SGML and/or XML catalog. You can find them in ${PREFIX}/share/sgml or ${PREFIX}/share/xml. For example, docbook-xml has ${PREFIX}/share/xml/docbook/4.2/catalog.xml in XML, ${PREFIX}/share/xml/docbook/4.2/docbook.cat in SGML. Set $SGML_CATALOG_FILES and/or $XML_CATALOG_FILES properly, and use --nonet and --catalogs in the case of xsltproc. Besides, you use xmlcatmgr to create catalog files (see ports/52640). All ports does not care about catalog files in a consistent way, so I am working on this problem. -- | Hiroki SATO /