From owner-freebsd-doc@FreeBSD.ORG Mon Jun 16 14:22:41 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 AADA237B401 for ; Mon, 16 Jun 2003 14:22:41 -0700 (PDT) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id CE34543FA3 for ; Mon, 16 Jun 2003 14:22:37 -0700 (PDT) (envelope-from sergei@kolobov.com) Received: (qmail 95939 invoked from network); 16 Jun 2003 21:22:35 -0000 Received: from unknown (HELO kolobov.com) (213.247.180.114) by outpost.globcon.net with SMTP; 16 Jun 2003 21:22:35 -0000 Received: (qmail 1133 invoked by uid 911); 16 Jun 2003 21:21:44 -0000 Date: Tue, 17 Jun 2003 01:21:43 +0400 From: Sergei Kolobov To: freebsd-doc@FreeBSD.org, freebsd-ports@FreeBSD.org Message-ID: <20030616212143.GA717@chetwood.ru> Mail-Followup-To: freebsd-doc@FreeBSD.org, freebsd-ports@FreeBSD.org, "Sergey A. Osokin" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i cc: "Sergey A. Osokin" Subject: 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: Mon, 16 Jun 2003 21:22:42 -0000 Hello, I am trying to solve a little problem building a new port I just submitted - textproc/xmlto (see ports/53173). To quote its pkg-descr: "xmlto is a front-end to an XSL toolchain. It chooses an appropriate stylesheet for the conversion you want and applies it using an external XSL-T processor. It also performs any necessary post-processing." When building xmlto, I get a lot of warnings from xsltproc similar to this: (manually wrapped for readability) xmlNanoHTTPConnectAttempt: Connect attempt timed out. /FreeBSD/current/ports/xmlto-0.0.14/xmlto-0.0.14/./doc/xmlif.xml:4: error: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" (also, the build time is greatly increased because of this timeouts). Even though the port successfully builds despite the warnings, I am trying to find out a better way. ;) The port's homepage (http://www.cyberelk.net/tim/xmlto/) has the following in the Problems section: Attempt to load network entity ... failed to load external entity This is caused by the absence of correctly configured XML Catalogs on your system. When XML Catalogs are available, URLs are transformed into local file references. For more information about XML Catalogs see the xsltproc documentation. Unfortunately, I am a novice in XML area, so I am lost as to where to get those XML catalogs. I have the following DocBook- and XML-related ports installed: docbook-1.2 Meta-port for the different versions of the DocBook DTD docbook-241 V2.4.1 of the DocBook DTD, designed for technical documenta docbook-3.0 V3.0 of the DocBook DTD, designed for technical documentati docbook-3.1 V3.1 of the DocBook DTD, designed for technical documentati docbook-4.0 V4.0 of the DocBook DTD, designed for technical documentati docbook-4.1 V4.1 of the DocBook DTD, designed for technical documentati docbook-xml-4.2 XML version of the DocBook DTD docbook-xsl-1.61.2 XSL DocBook stylesheets expat-1.95.6_1 XML 1.0 parser written in C fontconfig-2.2.0 An XML-based font configuration API for X Windows jade-1.2.1_1 An object-oriented SGML/XML parser toolkit and DSSSL engine libxml2-2.5.7_1 Xml parser library for GNOME sdocbook-xml-4.1.2.5 "Simplified" DocBook XML DTD sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc xmlto-0.0.14 Front-end to an XSL toolchain Am I missing something obvious? FWIW, the RPM spec file included with xmlto lists docbook-dtds as dependency. What is its equivalent in ports? Thanks. Sergei