The current version of Saxon in Gentoo is 7.x (7.8, I recently submited an update to 7.9.1) but this version depend on XSLT 2.0 stylesheets which are not-yet-finished. So, I think it whould be considered unstable and marked with ~x86 and Saxon 6.x should be left as the stable now. (It would have save me, at least, a lot of testing). Reproducible: Always Steps to Reproduce: 1.emerge saxon 2.get a docbook (a sane one, using XML and docbook 4.2 if possible) 3.try to generate a html file of that docbook with the following line: java net.sf.saxon.Transform thebook.xml /usr/share/sgml/docbook/xsl-stylesheets-1.62.4/html/docbook.xsl Actual Results: It showed errors like this: Error at xsl:param on line 220 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/lib/lib.xsl:
The current version of Saxon in Gentoo is 7.x (7.8, I recently submited an update to 7.9.1) but this version depend on XSLT 2.0 stylesheets which are not-yet-finished. So, I think it whould be considered unstable and marked with ~x86 and Saxon 6.x should be left as the stable now. (It would have save me, at least, a lot of testing). Reproducible: Always Steps to Reproduce: 1.emerge saxon 2.get a docbook (a sane one, using XML and docbook 4.2 if possible) 3.try to generate a html file of that docbook with the following line: java net.sf.saxon.Transform thebook.xml /usr/share/sgml/docbook/xsl-stylesheets-1.62.4/html/docbook.xsl Actual Results: It showed errors like this: Error at xsl:param on line 220 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/lib/lib.xsl: XPath syntax error in «processing-instruction('')»: Invalid processing instruction name. Invalid QName '' Error at xsl:call-template on line 74 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/common/targets.xsl: Parameter obj is not declared in the called template Error at xsl:call-template on line 91 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/common/targets.xsl: Parameter object is not declared in the called template Warning: at xsl:when on line 197 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/common/table.xsl: Less-than and greater-than comparisons between strings have changed since XPath 1.0 Error at xsl:call-template on line 216 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/html/block.xsl: Parameter title is not declared in the called template Error at xsl:call-template on line 130 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/html/titlepage.xsl: Parameter title is not declared in the called template Transformation failed: Failed to compile stylesheet. 5 errors detected. Expected Results: Output an .html file. With saxon 6.x by running this line (because of version diference, the line is diferent): ava com.icl.saxon.StyleSheet mybook.xml /usr/share/sgml/docbook/xsl-stylesheets-1.62.4/html/docbook.xsl Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.10 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl acpi alsa apache2 apm arts audiofile avi berkdb cdr crypt cscope cups curl dvb dvd dvdr encode fam fftw flac foomaticdb gd gdbm gif ginac gmp imagemagick imap imlib innodb ipv6 jabber jpeg kde ladcca lcms ldap libg++ libwww linguas_en linguas_eo linguas_es mad maildir mbox mcal mikmod mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl plotutils png ppds python qt quicktime readline sasl scanner sdl slang slp speex spell ssl svga tcpd tetex theora tiff truetype unicode usb vhosts videos x86 xinerama xml xml2 xosd xv zeo zlib"
Version 8.0b is in portage now so you shouldn't have anymore problems. Let me know if something is awry. Cheers