Hi,
It seems that the xslt task included in ant 1.6.5 still does not work
with JDK 1.5.0 from Sun. Some Google searching led me to believe that
the problem is that the included XSLT processor in the JDK does not
play well with the docbook stylesheets (see
http://wiki.wsmoak.net/cgi-bin/wiki.pl?DocBookToPDF).
I've found that using the packaged debian xalan library works fine
with ant. Something like this:
<xslt
classpath="/usr/share/java/xalan2.jar"
in="path/to/my/docbook-doc.xml"
out="path/to/output/dir/docbook-doc.html"
style="/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl"/>
Here are some of the related package versions on my system
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
ii ant 1.6.5-6 Java based build tool like make
ii docbook-xml 4.4-5 standard XML documentation system,
ii docbook-xsl-doc 1.71.0.dfsg.1-1.1 stylesheets for processing DocBook
ii libxerces2-java 2.8.1-1 Validating XML parser for Java wit
ii sun-java5-jre [java1-runtim 1.5.0-10-1.1 Sun Java(TM) Runtime Environment (
ii libxalan2-java 2.7.0-1 XSL Transformations (XSLT) processor in Java
I hope this helps at least by documenting a work around on Debian
systems, and perhaps reporting this upstream (to Sun?).
Cheers!
Shyamal
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]