Re: [Refdb-devel] Docs failing to build
Status: Beta
Brought to you by:
mhoenicka
From: David N. <dav...@sw...> - 2006-08-31 13:45:38
|
Hi Markus, >> libxslt1.1: 1.1.17-3 > > What is the version of your xsltproc package? I remember that Debian packages > the binaries separately from the libraries. FWIW the FreeBSD port is also built > from the libxslt 1.1.17 sources. xsltproc: 1.1.17-3 > I have discovered the cause of the problem... but am no closer to > understanding it. It has to do with the /doc directory's xsltproc line. > > The makefile ends up executing the following command (excepting the > backslash, of course): > > xsltproc -o refdb-manual.fo --nonet --xinclude \ > ../doc/include/manual-fo.xsl ../doc/refdb-manual.xml More specifically, the error is caused by the inclusion of '../doc/' in specifying the stylesheet. It makes no difference whether included or not in the source xml file name. > OTOH if this is an xsltproc problem, you should create a simple testcase and > post it to the XML mailing list (xm...@gn...). Do you have any other xslt > processor installed to run a quick test? xmlstarlet uses the same underlying library ('libxslt1.1') but happily creates a viable FO file even when the offending '../doc/' is included. The following command works: xmlstarlet tr --xinclude ../doc/include/manual-fo.xsl \ ../doc/refdb-manual.xml > refdb-manual.fo > A comparison with other xslt > processors could show whether xsltproc is broken or whether I expected too much > from it. It would appear to be an xsltproc-specific bug. Regards, David. |