[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Using Saxon, some errors.
You are trying to use Saxon 7, but the current DocBook XSL stylesheets only work with Saxon 6. Saxon 7 implements the not-yet-finished version 2.0 of XSLT. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Pupeno" <pupeno@pupeno.com> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, June 10, 2004 1:23 PM Subject: [docbook-apps] Using Saxon, some errors. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 After a long test of different processors I am trying to use Saxon since it seems to be the only one with the features I need. But, it doesn't seem to work on my installation, I tried converting my docbook to html and to fo with the following results: $ java net.sf.saxon.Transform Pupeno\ -\ El\ 1\,\ 2\,\ 3\ De\ La\ Programación\ GUI\ con\ Qt\ y\ KDE.xml /usr/share/sgml/docbook/xsl-stylesheets-1.62.4/fo/docbook.xsl 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 '' 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 149 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/fo/block.xsl: Parameter title is not declared in the called template Error at xsl:call-template on line 184 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/fo/titlepage.xsl: Parameter title is not declared in the called template Error at xsl:call-template on line 399 of file:/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/fo/titlepage.xsl: Parameter title is not declared in the called template Transformation failed: Failed to compile stylesheet. 4 errors detected. and $ java net.sf.saxon.Transform Pupeno\ -\ El\ 1\,\ 2\,\ 3\ De\ La\ Programación\ GUI\ con\ Qt\ y\ KDE.xml /usr/share/sgml/docbook/xsl-stylesheets-1.62.4/html/docbook.xsl 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. may it be that my xsl files are wrong ? or my saxon ? Thanks. - -- Pupeno: pupeno@pupeno.com - http://www.pupeno.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAyMM9fW48a9PWGkURAitEAJsGvYUDY0v6bGlp8DGx2LIOTSGnbACfSpov H5SF5jD7du3xz6YhlbguG34= =xbgf -----END PGP SIGNATURE----- To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]