[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] xsl parameter "ulink.footnotes" generating anerror
Bob Stayton wrote: > Hi, > I processed your test file with your customization layer (changing the > xsl:import path to my copy of 1.74.0), using the same version of > xsltproc (actually, the Windows binary), and I got no namespace error > message. Your path looks like a Linux path, so perhaps someone could > test it on a Linux box. > I've done an attempt to debugging this issue (having checked my installation and configuration in the meantime, so that these don't play a role) as follows: I've performed two runs of the xsl transform, one with and one without the parameter <xsl:param name="ulink.footnotes">1</xsl:param> in the customization layer. The transforms were done with "xsltproc -v", directing stdout and stderr to file The two resulting output files (xsltproc.out.err and xsltproc.out respectively) have been diff'ed and the diff is appended. Can anybody conclude anything useful from that diff, that would point to the cause of my problem? Thanks for any help, Erik (diff following) ==== --- xsltproc.out 2008-06-22 11:22:39.000000000 +0200 +++ xsltproc.out.err 2008-06-22 11:18:17.000000000 +0200 @@ -10660,6 +10660,8 @@ template has 1 inherited namespaces xsltParseTemplateContent: removing text parsed 4 templates +Registering global param ulink.footnotes +Defining global param ulink.footnotes parsed 0 templates Resolving attribute sets references creating attribute set table @@ -11657,13 +11659,13 @@ content=8 Evaluating global variable simplesect.in.toc Object is a number : 0 -Evaluating global variable column.gap.titlepage +Evaluating global variable ulink.footnotes reusing transformation dict for RVT -xsltApplyOneTemplate: copy text 12pt -xsltCopyText: copy text 12pt +xsltApplyOneTemplate: copy text 1 +xsltCopyText: copy text 1 Object is an XSLT value tree : 1 TEXT - content=12pt + content=1 Evaluating global variable insert.xref.page.number reusing transformation dict for RVT xsltApplyOneTemplate: copy text no @@ -11671,6 +11673,13 @@ Object is an XSLT value tree : 1 TEXT content=no +Evaluating global variable column.gap.titlepage +reusing transformation dict for RVT +xsltApplyOneTemplate: copy text 12pt +xsltCopyText: copy text 12pt +Object is an XSLT value tree : +1 TEXT + content=12pt Evaluating global variable profile.condition Evaluating global variable runinhead.default.title.end.punct reusing transformation dict for RVT @@ -11679,8 +11688,6 @@ Object is an XSLT value tree : 1 TEXT content=. -Evaluating global variable ulink.footnotes -Object is a number : 0 Evaluating global variable chunker.output.standalone Object is a string : no Evaluating global variable PreviousRelease @@ -15277,12 +15284,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2467134 -xsltValueOf: result id2467134 +xsltCopyTextString: copy text id2248027 +xsltValueOf: result id2248027 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2467134 + content=id2248027 Registering variable master-reference Building variable master-reference Evaluating variable master-reference @@ -22913,7 +22920,7 @@ xsltApplyOneTemplate: copy node block Lookup variable id found variable id -xsltEvalXPathString: returns id2467134 +xsltEvalXPathString: returns id2248027 apply attribute set component.titlepage.properties call-template: name article.titlepage applying template 'article.titlepage' @@ -22987,12 +22994,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2467134 -xsltValueOf: result id2467134 +xsltCopyTextString: copy text id2248027 +xsltValueOf: result id2248027 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2467134 + content=id2248027 Registering variable title Building variable title Evaluating variable title @@ -27649,12 +27656,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2467134 -xsltValueOf: result id2467134 +xsltCopyTextString: copy text id2248027 +xsltValueOf: result id2248027 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2467134 + content=id2248027 Registering variable cid Building variable cid Evaluating variable cid @@ -27684,12 +27691,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2467134 -xsltValueOf: result id2467134 +xsltCopyTextString: copy text id2248027 +xsltValueOf: result id2248027 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2467134 + content=id2248027 Registering variable nodes Building variable nodes select section|sect1|refentry |article|bibliography|glossary |qandaset[$qanda.in.toc != 0] |appendix|index Evaluating variable nodes @@ -27703,7 +27710,7 @@ xsltApplyOneTemplate: copy node block Lookup variable id found variable id -xsltEvalXPathString: returns id2467134 +xsltEvalXPathString: returns id2248027 apply attribute set toc.margin.properties xsltIf: test $toc.title.p Lookup variable toc.title.p @@ -28611,12 +28618,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2601737 -xsltValueOf: result id2601737 +xsltCopyTextString: copy text id2586076 +xsltValueOf: result id2586076 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2601737 + content=id2586076 Registering variable cid Building variable cid Evaluating variable cid @@ -28646,12 +28653,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2467134 -xsltValueOf: result id2467134 +xsltCopyTextString: copy text id2248027 +xsltValueOf: result id2248027 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2467134 + content=id2248027 Registering variable depth Building variable depth select count(ancestor::section) + 1 Evaluating variable depth @@ -28711,12 +28718,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2601737 -xsltValueOf: result id2601737 +xsltCopyTextString: copy text id2586076 +xsltValueOf: result id2586076 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2601737 + content=id2586076 Registering variable label Building variable label Evaluating variable label @@ -28875,7 +28882,7 @@ xsltApplyOneTemplate: copy node basic-link Lookup variable id found variable id -xsltEvalXPathString: returns id2601737 +xsltEvalXPathString: returns id2586076 xsltIf: test $label != '' Lookup variable label found variable label @@ -28959,11 +28966,11 @@ xsltApplyOneTemplate: copy node basic-link Lookup variable id found variable id -xsltEvalXPathString: returns id2601737 +xsltEvalXPathString: returns id2586076 xsltApplyOneTemplate: copy node page-number-citation Lookup variable id found variable id -xsltEvalXPathString: returns id2601737 +xsltEvalXPathString: returns id2586076 call-template returned: name toc.line xsltIf: test $toc.section.depth > $depth and $toc.max.depth > $depth.from.context and section Lookup variable toc.section.depth @@ -29013,12 +29020,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2601737 -xsltValueOf: result id2601737 +xsltCopyTextString: copy text id2586076 +xsltValueOf: result id2586076 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2601737 + content=id2586076 Registering variable renderas Building variable renderas Evaluating variable renderas @@ -29120,8 +29127,8 @@ xsltValueOf: select $id Lookup variable id found variable id -xsltCopyTextString: copy text id2601737 -xsltValueOf: result id2601737 +xsltCopyTextString: copy text id2586076 +xsltValueOf: result id2586076 call-template: name section.content applying template 'section.content' call-template: name section.titlepage @@ -29197,12 +29204,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2601737 -xsltValueOf: result id2601737 +xsltCopyTextString: copy text id2586076 +xsltValueOf: result id2586076 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2601737 + content=id2586076 Registering variable renderas Building variable renderas Evaluating variable renderas @@ -33279,12 +33286,12 @@ xsltValueOf: select generate-id($object) Lookup variable object found variable object -xsltCopyTextString: copy text id2593516 -xsltValueOf: result id2593516 +xsltCopyTextString: copy text id2582929 +xsltValueOf: result id2582929 call-template returned: name object.id Object is an XSLT value tree : 1 TEXT - content=id2593516 + content=id2582929 xsltIf: test $conditional = 0 or $node/@id or $node/@xml:id Lookup variable conditional found variable conditional @@ -33846,42 +33853,152 @@ xsltChoose: test $ulink.footnotes != 0 and not(ancestor::footnote) Lookup variable ulink.footnotes found variable ulink.footnotes +xsltChoose: test evaluate to 1 +xsltApplyOneTemplate: copy node footnote +call-template: name ulink.footnote.number +applying template 'ulink.footnote.number' +xsltApplyOneTemplate: copy node inline +apply attribute set footnote.mark.properties +xsltChoose: test $fop.extensions != 0 +Lookup variable fop.extensions +found variable fop.extensions +xsltChoose: test evaluate to 0 +evaluating xsl:otherwise +Registering variable fnum +Building variable fnum +Evaluating variable fnum +reusing transformation dict for RVT +xsltCompilePattern : parsing 'footnote[not(@label)][not(ancestor::tgroup)] ' +xsltCompilePattern : parsed //footnote[not(@label)][not(ancestor::tgroup)] , default priority 0.500000 +xsltCompilePattern : parsing 'ulink[node()][@url != .][not(ancestor::footnote)] ' +xsltCompilePattern : parsed //ulink[node()][@url != .][not(ancestor::footnote)] , default priority 0.500000 +xsltCompilePattern : parsing '*[node()][@xlink:href][not(@xlink:href = .)][not(starts-with(@xlink:href,'#'))] [not(contains(@xlink:href,'#') and @xlink:role = $xolink.role)] [not(@xlink:type) or @xlink:type='simple'] [not(ancestor::footnote)]' +xsltCompilePattern : parsed //*[node()][@xlink:href][not(@xlink:href = .)][not(starts-with(@xlink:href,'#'))] [not(contains(@xlink:href,'#') and @xlink:role = $xolink.role)] [not(@xlink:type) or @xlink:type='simple'] [not(ancestor::footnote)], default priority 0.500000 +xsltCompilePattern : parsing 'chapter' +xsltCompilePattern : parsed chapter, default priority 0.000000 +xsltCompilePattern : parsing 'appendix' +xsltCompilePattern : parsed appendix, default priority 0.000000 +xsltCompilePattern : parsing 'preface' +xsltCompilePattern : parsed preface, default priority 0.000000 +xsltCompilePattern : parsing 'article' +xsltCompilePattern : parsed article, default priority 0.000000 +xsltCompilePattern : parsing 'refentry' +xsltCompilePattern : parsed refentry, default priority 0.000000 +xsltCompilePattern : parsing 'bibliography[not(parent::article)]' +xsltCompilePattern : parsed bibliography[not(parent::article)], default priority 0.500000 +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +xsltCopyTextString: copy text 1 +Object is an XSLT value tree : +1 TEXT + content=1 +xsltChoose: test string-length($footnote.number.symbols) >= $fnum +Lookup variable footnote.number.symbols +found variable footnote.number.symbols +Lookup variable fnum +found variable fnum xsltChoose: test evaluate to 0 evaluating xsl:otherwise +Lookup variable footnote.number.format +found variable footnote.number.format +xsltEvalXPathString: returns 1 +xsltEvalAttrValueTemplate: {$footnote.number.format} returns 1 +Lookup variable fnum +found variable fnum +xsltCopyTextString: copy text 1 +call-template returned: name ulink.footnote.number +xsltApplyOneTemplate: copy node footnote-body +apply attribute set footnote.properties +xsltValueOf: select $body.fontset +Lookup variable body.fontset +found variable body.fontset +xsltCopyTextString: copy text serif,Symbol,ZapfDingbats +xsltValueOf: result serif,Symbol,ZapfDingbats +xsltValueOf: select $footnote.font.size +Lookup variable footnote.font.size +found variable footnote.font.size +xsltCopyTextString: copy text 8pt +xsltValueOf: result 8pt +xsltValueOf: select $alignment +Lookup variable alignment +found variable alignment +xsltCopyTextString: copy text justify +xsltValueOf: result justify +xsltValueOf: select $hyphenate +Lookup variable hyphenate +found variable hyphenate +xsltCopyTextString: copy text true +xsltValueOf: result true +xsltApplyOneTemplate: copy node block +call-template: name ulink.footnote.number +applying template 'ulink.footnote.number' xsltApplyOneTemplate: copy node inline -xsltApplyOneTemplate: copy text [ -xsltCopyText: copy text [ +apply attribute set footnote.mark.properties +xsltChoose: test $fop.extensions != 0 +Lookup variable fop.extensions +found variable fop.extensions +xsltChoose: test evaluate to 0 +evaluating xsl:otherwise +Registering variable fnum +Building variable fnum +Evaluating variable fnum +reusing transformation dict for RVT +xsltCompilePattern : parsing 'footnote[not(@label)][not(ancestor::tgroup)] ' +xsltCompilePattern : parsed //footnote[not(@label)][not(ancestor::tgroup)] , default priority 0.500000 +xsltCompilePattern : parsing 'ulink[node()][@url != .][not(ancestor::footnote)] ' +xsltCompilePattern : parsed //ulink[node()][@url != .][not(ancestor::footnote)] , default priority 0.500000 +xsltCompilePattern : parsing '*[node()][@xlink:href][not(@xlink:href = .)][not(starts-with(@xlink:href,'#'))] [not(contains(@xlink:href,'#') and @xlink:role = $xolink.role)] [not(@xlink:type) or @xlink:type='simple'] [not(ancestor::footnote)]' +xsltCompilePattern : parsed //*[node()][@xlink:href][not(@xlink:href = .)][not(starts-with(@xlink:href,'#'))] [not(contains(@xlink:href,'#') and @xlink:role = $xolink.role)] [not(@xlink:type) or @xlink:type='simple'] [not(ancestor::footnote)], default priority 0.500000 +xsltCompilePattern : parsing 'chapter' +xsltCompilePattern : parsed chapter, default priority 0.000000 +xsltCompilePattern : parsing 'appendix' +xsltCompilePattern : parsed appendix, default priority 0.000000 +xsltCompilePattern : parsing 'preface' +xsltCompilePattern : parsed preface, default priority 0.000000 +xsltCompilePattern : parsing 'article' +xsltCompilePattern : parsed article, default priority 0.000000 +xsltCompilePattern : parsing 'refentry' +xsltCompilePattern : parsed refentry, default priority 0.000000 +xsltCompilePattern : parsing 'bibliography[not(parent::article)]' +xsltCompilePattern : parsed bibliography[not(parent::article)], default priority 0.500000 +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +XPath error : Undefined namespace prefix +xsltCopyTextString: copy text 1 +Object is an XSLT value tree : +1 TEXT + content=1 +xsltChoose: test string-length($footnote.number.symbols) >= $fnum +Lookup variable footnote.number.symbols +found variable footnote.number.symbols +Lookup variable fnum +found variable fnum +xsltChoose: test evaluate to 0 +evaluating xsl:otherwise +Lookup variable footnote.number.format +found variable footnote.number.format +xsltEvalXPathString: returns 1 +xsltEvalAttrValueTemplate: {$footnote.number.format} returns 1 +Lookup variable fnum +found variable fnum +xsltCopyTextString: copy text 1 +call-template returned: name ulink.footnote.number +xsltApplyOneTemplate: copy text +xsltCopyText: copy text xsltApplyOneTemplate: copy node basic-link Lookup variable ulink.url found variable ulink.url xsltEvalXPathString: returns url(http://www.stunnel.org/) -call-template: name hyphenate-url -Handling xsl:with-param url - select $url -Building variable url select $url -Evaluating variable url -Lookup variable url -found variable url -Object is a Node Set : -Set contains 1 nodes: -1 ATTRIBUTE url - TEXT - content=http://www.stunnel.org/ -applying template 'hyphenate-url' -Registering param url -param url defined by caller -xsltChoose: test $ulink.hyphenate = '' -Lookup variable ulink.hyphenate -found variable ulink.hyphenate -xsltChoose: test evaluate to 1 xsltValueOf: select $url Lookup variable url found variable url xsltCopyTextString: copy text http://www.stunnel.org/ xsltValueOf: result http://www.stunnel.org/ -call-template returned: name hyphenate-url -xsltApplyOneTemplate: copy text ] -xsltCopyText: copy text ] call-template returned: name hyperlink.url.display call-template returned: name section.content Shutting down module : http://icl.com/saxon == end of message ==
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]