El Sábado, 10 de Septiembre de 2005 19:14, Randy McMurchy escribió:

> I don't get it. Can you point me to some documentation somewhere that
> can more clearly explain this for me? For one, I don't understand how
> you could do rewrite statements for the various DTD versions without
> using the /etc/xml/docbook file. Could this be placed in the
> /etc/xml/catalog file instead?

Some corrections to my previous post: The Openade imcompatibilities mentioned 
earlier aren't related with XML catalogs. That was a SGML issue solved some 
time ago. And the FPIs rewrite staments done actually on /etc/xml/docbook are 
required due that the DocBook-XML-DTD packages don't have a docbook.xml 
catalog.

But to place that  FPIs rewrite staments on /etc/xml/docbook isn't a good 
approach, IMHO. They should be placed on
/usr/share/xml/docbook/xml-dtd-$version/docbook.xml files, one for each DTD 
version installed.

> How would you do this without using /etc/xml/docbook?

All FPIs and URLs resolution can be placed on a unique file,  /etc/xml/catalog 
or the one specified in XML_CATALOG_FILES, if wanted a there is few entities 
to be resoleved. 

When is needed to resolve several entities (several DTD's, XML Schemas, 
Relax-NG schemas, etc, not only from DocBook, also from other projets), then 
a modular approach could be good for maintenance purporses.

To see a good modular approach and more info about catalogs:

http://debian-xml-sgml.alioth.debian.org/xml-policy/xml-catalogs.html


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to