Ekaterina S. wrote:
I've been trying to set up DocBook -> Eclipse Help conversion using XSL
Utility, but I keep running into the same problem:
Don't know how to chunk with Saxonica
ERROR: Fatal error: Processing terminated by xsl:message at line 85 in
chunker.xsl
ERROR: net.sf.saxon.expr.instruct.TerminationException: Processing terminated
by xsl:message at line 85 in chunker.xsl
This error message is 100% correct.
You cannot use Saxonica, that is, Saxon 9, an XSLT 2.0 processor, to
process the DocBook XSL stylesheets. You need to use the old version
Saxon 6, an XSLT 1.0 processor, to do that.
Unlike our own, in-house, DITA XSLT stylesheets which are XSLT 2.0
stylesheets, the DocBook XSL stylesheets are all XSLT 1.0 stylesheets.
Please remove xsltVersion="2.0" from the conversion specification below
and this should fix this problem.
While at it,
1) Please also replace:
documentation="http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__%{parameter.name|plugin-name}"
by
documentation="http://docbook.sourceforge.net/release/xsl/current/doc/html/%{parameter.name|base.dir}.html"
2) Please also remove (twice):
<parameter name="default-table-width">100%</parameter>
(This parameter is specific to the DITA XSLT stylesheets.)
This happens even if I don't use any customization layer, meaning I use
XMLmind_XSL_Utility/addon/config/docbook5/xsl/eclipse/eclipse3.xsl directly as
the stylesheet.
The conversion specification is the following:
<conversion name="TESTEclipseHelp"
description="Convert to Eclipse Help"
icon="icon:eclipse"
category="DocBook 5"
categoryIcon="icon:docbook"
outputIsDirectory="true">
<transform
styleSheet="file:/C:/tools/XMLmind_XSL_Utility/addon/config/docbook5/xsl/eclipse/eclipse3.xsl"
xsltVersion="2.0"
documentation="http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__%{parameter.name|plugin-name}">
<parameter name="admon.graphics.path">%~px../images/</parameter>
<parameter name="base.dir">%W%S</parameter>
<parameter name="callout.graphics.path">%~px../images/callouts/</parameter>
<parameter name="default-table-width">100%</parameter>
<parameter name="img.src.path">%~pi</parameter>
<parameter name="manifest.in.base.dir">1</parameter>
<parameter name="default-table-width">100%</parameter>
</transform>
</conversion>
I use XSL Utility as command line application calling it like:
C:\tools\XMLmind_XSL_Utility\bin>xslutil-c.bat TESTEclipseHelp c:\src\Help.xml
c:\src\gen_help\
I've never run into this problem when using xsltproc (which we want to replace
with XMLMind).
Could you please give some advice where to look into?
Unfortunately, I couldn't find any solution by just googling (and reading Bob
Stayton's book, of course).
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support