On Thu, 2013-07-18 at 18:04 -0400, Phil Pennock wrote:
> On 2013-07-18 at 17:28 +0100, John Horne wrote:
> > "/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/xhtml/docbook.xsl"
> > compilation error:
> > file /home/john/exim/exim-packaging-4.81/release_tree/doc/doc-docbook/MyStyle-txt-html.xsl line 8 element import
> > xsl:import : unable to
> > load /usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/xhtml/docbook.xsl
> > =====================================
> >
> > I have tried to sort this out, and it seems the file
> > 'doc/doc-docbook/OS-Fixups' is where the 'nwalsh' bit is coming from. I
> > have changed the file to specify the location of the stylesheets on my
> > system (Fedora 17, '/usr/share/sgml/docbook/xsl-stylesheets-1.78.1/').
> >
> > However, I still get the same error.
>
> Is the error that it can't find the file, or that it's refusing to?
>
It can't find it (see below).
> Did you see HowItWorks.txt ? In particular, "XSL INCLUDES"?
>
Yup, that's where I saw about the OS-Fixup file.
> It might be, if your system has working
> catalog systems, that the right fix is to _remove_ the OS fixup for your
> OS?
>
Removed the 'linux' fixup. Got the error:
==========================================
xmlto -x MyStyle-txt-html.xsl html-nochunks filter-txt.xml
warning: failed to load external entity
"/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/xhtml/docbook.xsl"
compilation error:
file /home/john/exim/exim-packaging-4.81/release_tree/doc/doc-docbook/MyStyle-txt-html.xsl line 8 element import
xsl:import : unable to
load /usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/xhtml/docbook.xsl
==========================================
It's still looking for the 'nwalsh' directory for some reason. Not sure
where it is getting that from.
John.
--
John Horne, Plymouth University, UK
Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001