Re: [exim-dev] XSL include path OS-independence

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Andreas Metzler
Data:  
Para: exim-dev
Asunto: Re: [exim-dev] XSL include path OS-independence
On 2010-07-06 Phil Pennock <exim-dev@???> wrote:
> 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?


FWIW your change also works on Debian.
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'