[exim-dev] XSL include path OS-independence

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Phil Pennock
Datum:  
To: exim-dev
Betreff: [exim-dev] XSL include path OS-independence
One of the action-items on me from the meet-up was to look into the
system mappings for XSL includes; I wasn't sure of the name of the
system, thought it might be scrollkeeper.

It's not Scrollkeeper. That's another piece of the baroque XML
pseudo-architecture. Instead, it's the XML Catalog, maintained by
xmlcatalog(1) or xmlcatmgr(1).

I updated the includes in the .xsl files and I've built both .pdf and
.txt from that, so I think this is correct. I also updated the paths in
OS-Fixups, so that if you don't have a working system catalog, things
should still work. I also updated the HowItWorks.txt to explain this.

Here's the change:

http://git.exim.org/users/pdp/exim.git/commit/fd571f55604e43a7a70fb7f80bd2a78894099b49

On tahini, there's /etc/xml/catalog which pulls in suse-catalog.xml
which has:
  <group id="docbook-xsl-stylesheets-1.71.1-5.5">
    <delegateSystem
     systemIdStartString="http://docbook.sourceforge.net/release/xsl/"
     catalog="file:///etc/xml/docbook-xsl-stylesheets-1.71.1.xml"/>
  </group>


and that file contains the mappings for both 1.71.1/ and current/

I chose to switch to 'current/'; is there a reason to stick to a
particular version instead?

Any thoughts on this?

-Phil