[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Re: param.xsl in 2005-12-30 docbook-xsl2-snapshot
The nonexistent param.xsl problem can be cured with the following commands, courtesy of Mark Flacy. cd /path/to/docbook-xsl2-snapshot/html java -jar /path/to/saxon8.jar -o param.xsl param.xml ../common/mkparam.xsl On his machine, this procedure ends the problems and he is able to generate html output from docbook v5 source. After the same procedure on my machine, when I run ... cd /var/www/localhost/htdocs/;java -jar /usr/share/saxon-bin/lib/saxon8.jar -o index.html index.xml /usr/share/sgml/docbook/docbook-xsl2-snapshot/html/docbook.xsl ... the following errors are produced: Error at xsl:value-of on line 431 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/normalize.xsl: XPST0017: XPath syntax error at char 52 on line 431 in {...-entity-uri($data/@entityre...}: Function unparsed-text() must have 2 arguments Error at xsl:value-of on line 434 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/normalize.xsl: XPST0017: XPath syntax error at char 29 on line 434 in {unparsed-text($data/@fileref)}: Function unparsed-text() must have 2 arguments Error at xsl:value-of on line 448 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/normalize.xsl: XPST0017: XPath syntax error at char 58 on line 448 in {...y-uri(db:textdata/@entityre...}: Function unparsed-text() must have 2 arguments Error at xsl:value-of on line 451 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/normalize.xsl: XPST0017: XPath syntax error at char 35 on line 451 in {...sed-text(db:textdata/@filer...}: Function unparsed-text() must have 2 arguments Error at xsl:variable on line 737 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/normalize.xsl: XPST0003: XPath syntax error at char 38 on line 737 in {...ize($attr, $profile.separat...}: Cannot find a matching 2-argument function named {http://www.w3.org/2005/xpath-functions}tokenize() Error at xsl:variable on line 739 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/normalize.xsl: XPST0003: XPath syntax error at char 38 on line 739 in {...ize($prof, $profile.separat...}: Cannot find a matching 2-argument function named {http://www.w3.org/2005/xpath-functions}tokenize() Error at xsl:when on line 102 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/root.xsl: XPST0003: XPath syntax error at char 61 on line 102 in {... = fn:node-name}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}node-name() Error at xsl:when on line 117 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/root.xsl: XPST0003: XPath syntax error at char 61 on line 117 in {... = fn:node-name}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}node-name() Error at xsl:when on line 65 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/titlepages.xsl: XPST0003: XPath syntax error at char 18 on line 65 in {fn:empty($content)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}empty() Error at xsl:if on line 121 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/titlepages.xsl: XPST0003: XPath syntax error at char 22 on line 121 in {fn:normalize-space(.) != ''}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}normalize-space() Error at xsl:when on line 164 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/titlepages.xsl: XPST0003: XPath syntax error at char 29 on line 164 in {...$template-node) = fn:node-n...}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}node-name() Error at xsl:when on line 68 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/common/titles.xsl: XPST0003: XPath syntax error at char 16 on line 68 in {fn:node-name(.) = xs:QName}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}node-name() Error at xsl:sort on line 164 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 21 on line 164 in {fn:upper-case(db:see)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 179 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 25 on line 179 in {fn:upper-case(db:seealso)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 190 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 88 on line 190 in {... db:secondary[not(@sortas)]...}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 226 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 21 on line 226 in {fn:upper-case(db:see)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 241 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 22 on line 241 in {fn:upper-case(seealso)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 253 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 86 on line 253 in {..., db:tertiary[not(@sortas)]...}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 289 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 21 on line 289 in {fn:upper-case(db:see)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 304 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 25 on line 304 in {fn:upper-case(db:seealso)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:sort on line 420 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/autoidx.xsl: XPST0003: XPath syntax error at char 16 on line 420 in {fn:upper-case(.)}: Cannot find a matching 1-argument function named {http://www.w3.org/2005/xpath-functions}upper-case() Error at xsl:result-document on line 61 of file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/chunker.xsl: Invalid QName {{$output}} Failed to compile stylesheet. 22 errors detected. Will someone please inform me of how to cure these errors? Does anyone at least recognize them or their source? Thank you for your time, On 1/13/06, Chris Chiasson <chris.chiasson@gmail.com> wrote: > Following the advice of Mauritz Jeanson, I posted a bug report about > this nonexistent param.xsl issue on SourceForge: > > http://sourceforge.net/tracker/index.php?func=detail&aid=1404726&group_id=21935&atid=373747 > > On 07 Jan 2006 08:52:52 +0000, Colin Paul Adams > <colin@colina.demon.co.uk> wrote: > > >>>>> "Chris" == Chris Chiasson <chris.chiasson@gmail.com> writes: > > > > > > Chris> Error at xsl:include on line 13 of > > Chris> file:/usr/share/sgml/docbook/docbook-xsl2-snapshot/html/docbook.xsl: > > Chris> XTSE0165: java.io.FileNotFoundException: > > Chris> /usr/share/sgml/docbook/docbook-xsl2-snapshot/html/param.xsl > > Chris> (No such file or directory) Failed to compile stylesheet. 1 > > Chris> error detected. > > > > Chris> Sorry for the original lack of clarity. So, can anyone else > > Chris> reproduce this or verify it in some way? > > > > Chris, > > > > I saw the title of your message (only), and promptly downloaded the > > snapshot to test my XSLT 2.0 processor against it. > > > > I'm using Fedora Core 4 Linux, and I get what looks like essentially > > the same problem: > > > > $ gexslt tools/writetests.xsl html/docbook.xsl > > > > In : > > Recoverable error: http://www.w3.org/2005/xqt-errors#FODC0002: Failed to parse file://localhost/home/colin/docbook-xsl2-snapshot/html/param.xsl. Cannot open file /home/colin/docbook-xsl2-snapshot/html/param.xsl > > At line 11 in file://localhost/home/colin/docbook-xsl2-snapshot/tools/expand.xsl: > > Fatal error: http://www.w3.org/2005/xqt-errors#XTDE0830: Name is not a valid QName > > > > Checking manually, there is indeed no param.xsl file. > > -- > > Colin Adams > > Preston Lancashire > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > > > > > -- > http://chrischiasson.com/contact/chris_chiasson > -- http://chrischiasson.com/contact/chris_chiasson
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]