Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 14:20:26 +0900 (JST)
From:      Hiroki Sato <hrs@jp.FreeBSD.org>
To:        sergei@kolobov.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: textproc/xmlto: missing XML catalogs?
Message-ID:  <20030617.142026.104095785.hrs@vlsi.ee.noda.tus.ac.jp>
In-Reply-To: <20030617043042.GA709@chetwood.ru>
References:  <20030616212143.GA717@chetwood.ru> <20030616223625.GB71605@rot13.obsecurity.org> <20030617043042.GA709@chetwood.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Sergei Kolobov <sergei@kolobov.com> 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  <hrs@eos.ocn.ne.jp> / <hrs@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030617.142026.104095785.hrs>