logo       

Re: Docs failing to build: msg#00084

Subject: Re: Docs failing to build
Hi Markus,
>  > This is turning out to be a most puzzling problem.
>   
>   Post the package versions of the related tools (libxml2,
>   libxslt2, fop, docbook-stylesheets and so on). I'd like to have
>   Michael look at this, as he seems to be running Debian as well.
>   

libavalon-framework-java: 4.2.0-3
libbsf-java: 1:2.3.0+cvs20050308a-1
libbatik-java: 1.6-2
liblogkit-java: 1.2.2-8
libxalan2-java: 2.6.0-6
libxerces2-java: 2.6.2-4
libxml2: 2.6.26.dfsg-3
libxslt1.1: 1.1.17-3
fop: 1:0.20.5-8
docbook-xsl: 1.70.1.dfsg.1-0.2
xml-core: 0.09-0.1

I'm running very recent Debian/testing with all packages up-to-date.  
Let me know if you want any other package versions.

--------------------------------------------------------------------------------------------

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

The FO file thus created will fail on conversion to PDF with fop.  If, 
in the xsltproc command, you strip out both instances of '../doc/' you 
end up with the following command:

    xsltproc -o refdb-manual.fo --nonet --xinclude \
    include/manual-fo.xsl refdb-manual.xml

The FO file thus created is different to the one created using the 
previous command.  This FO file will be converted successfully by fop to 
PDF.

The FO files thus generated are different.  I do not yet understand why 
xsltproc generates different output from the same input and essentially 
similar commands.

I have created a tarzipped archive containing both versions of FO output 
-- one which will successfully convert to PDF (created by a command with 
'../doc/' stripped out) and one which fails to convert to PDF (created 
by a command retaining '../doc/').  This archive can be accessed at 
<www.nebauer.org/fo-files.tar.gz>.

Regards,
David.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe