From owner-freebsd-doc@FreeBSD.ORG Mon Feb 23 12:27:24 2004 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 9A82016A4CE; Mon, 23 Feb 2004 12:27:24 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6762C43D1F; Mon, 23 Feb 2004 12:27:24 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id B06F65309; Mon, 23 Feb 2004 21:27:22 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 4C0095308; Mon, 23 Feb 2004 21:27:15 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 0301233C6F; Mon, 23 Feb 2004 21:27:14 +0100 (CET) To: Chuck Swiger References: <8D03FA54-4BA6-11D8-8D97-003065ABFD92@pkix.net> <20040216130659.GC617@submonkey.net> <4031364A.2070708@pkix.net> <20040222181114.GB32524@graf.pompo.net> <40390248.1060104@pkix.net> <4039D0FE.3010905@FreeBSD.org> <403A53E1.2040305@mac.com> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 23 Feb 2004 21:27:14 +0100 In-Reply-To: <403A53E1.2040305@mac.com> (Chuck Swiger's message of "Mon, 23 Feb 2004 14:26:25 -0500") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,HTML_20_30 autolearn=no version=2.63 cc: freebsd-doc@FreeBSD.org cc: Thierry Thomas cc: Alex Dupre Subject: Re: Validating docbook articles... 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: Mon, 23 Feb 2004 20:27:24 -0000 Chuck Swiger writes: > How does one generate proper SystemLiterals per: > [...] > Are these entities published via a URI, or does one need to refer to a > local path? The system literal can be anything as long as you have a catalog that reveals the real location of the external entity. The usual practice for entities that rarely change is to create an online repository and let the system literal point to that. In this case though you might as well use an empty or intentionally meaningless string. You'll want to generate a catalog that looks like this: and set the XML_CATALOG_FILES environment variable to point to it. although this is not documented in the xmllint man page, it is documented in the xsltproc manual page and I believe that xmllint understands it too (since they both use libxml2 to parse and validate XML) As a stopgap measure, xmllint and xsltproc understand SGML catalogs and will obey the SGML_CATALOG_FILES environment variable when invoked with the --catalogs option. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no