[XML-SIG] Catalogs and LSB
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Wed, 28 Feb 2001 01:50:00 +0100
I just found that the Linux Standards Base addendum R003 specifies
locations for catalogs; they say that centralized catalogs must reside
in /etc/sgml, end in .cat, and only contain CATALOG declarations.
It goes on saying that /etc/sgml/catalog is the central catalog, and
managed by means of the install-catalog utility. It seems that Redhat
provides that utility, but that this utility manages
/usr/lib/sgml/CATALOG (and puts new catalog files into /usr/lib/sgml).
Debian apparently puts the central catalog into /etc/sgml.catalog, and
the individual catalogs into /usr/lib/sgml; they have a corresponding
install-catalog utility.
It would probably be worthwhile writing a library that locates the
central catalog, or individual catalogs, in a best-effort manner. If
we were to set a precedent, it would be probably best to stick to the
LSB proposal, regardless whether Debian and Redhat differ from that,
and even though only Caldera appears to implement it fully.
Regards,
Martin