textproc/xmlto: missing XML catalogs?

Hiroki Sato hrs at jp.FreeBSD.org
Tue Jun 17 05:21:26 UTC 2003

Sergei Kolobov <sergei at kolobov.com> wrote
  in <20030617043042.GA709 at 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> 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 at eos.ocn.ne.jp> / <hrs at FreeBSD.org>

More information about the freebsd-doc mailing list