Re: catalog in sgml-validate-command?

Karl Eichwalder <[email protected]> Thu, 06 Nov 2003 08:03:23 +0100
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
Lennart Staflin <[email protected]> writes:

>> (setq sgml-catalog-files '("/var/lib/sgml/CATALOG.iso_ent"
>> 			   "/var/lib/sgml/CATALOG.html"
>> 			   "/var/lib/sgml/CATALOG.html-3.2"
>> 			   "/var/lib/sgml/CATALOG.html-4.0"
>> 			   "/var/lib/sgml/CATALOG.tei-3"
>> 			   "/var/lib/sgml/CATALOG.tei-3.system"
>> 			   "/var/lib/sgml/CATALOG.teixlite"))
>
> Have you considered creating a master catalog referring to the other
> catalogs. The you would only need to list the master catalog.

This may or may not work depending on the matter of fact whether SGML
declarations are declared in these files and/or what the parser's
compiled in defaults (in the beginning the compiled in limits of nsgmls
were rather low).  And if your DTD makes use of special features (e.g., QWERTZ
and linuxdoc DTD) you must supply a SGML declaration.

opensp now supports DTDDECL and thus it is possible to reference all
declarations within one catalog file (there is still a problem with TEI;
they are using the same FPI for the SGML and XML flavor of their DTD).

In Suse Linux 8.2 and later /etc/sgml/catalog is considered to hold the
references to all CATALOG files.  There seems to be an RPM update
problem; I will try to fix it.  The workaround is: install affected
packages a second time.

-- 
                                                         |      ,__o
                                                         |    _-\_<,
http://www.gnu.franken.de/ke/                            |   (*)/'(*)


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/