← Prev in month ← Prev in thread

DOCBOOK-APPS: which version of docbook XSL with Xalan 2.0.1 forchunking ?

From
Dominique JOCAL <>
Date
2001-05-15T13:13:05+00:00
ID
00ba01c0dd40$8662a0f0$dcdea8c0@OCTODOJ
Thread
DOCBOOK-APPS: which version of docbook XSL with Xalan 2.0.1 forchunking ?
Hello,

 

I have problems making chunking with Xalan 2.0.1 
(normal generation works).

 

If I use Xalan 2.0.1 
and associated Xerces (1.3.0), which version 
of docbook xsl to you recommend to use ? 1.29 (official release) or the 
last experimental one ?

 

Perhaps I make a mistake in the way I use Xalan... 
(seems that some extensions are missing...) I did 
not find answer to my problems in the archives, sorry if I pollute the mailing 
list with this trivial question.

 

Thanks for your help !

 

Context:

- tests done with: DocBook DTD 4.1.2, DocBook XSL 
1.29, Xalan 2.0.1 with Xerces 1.3.0

- document written in c:\temp2 directory on a PC 
under Win2000. DocBook DTD extracted in docbookx, DocBook XSL extracted in 
docbook, xalan's jars extracted in lib.

- executed command line:

C:\temp2>java -classpath 
lib\bsf.jar;lib\xalan.jar;lib\xalanj1compat.jar;lib\xerces.jar; 
org.apache.xalan.xslt.Process -IN file:///temp2/book.xml -XSL file:///temp2/docbook/html/chunk.xsl 
-OUT file:///temp2/book.html

- it returns:

DOM ERROR! class: 
org.apache.xalan.templates.ElemExtensionCall
file:///temp2/docbook/html/chunk.xsl; 
Line 17; Column 58;
XSLT Error 
(javax.xml.transform.TransformerConfigurationException): Failed calling 
setPrefix method!

 

- remark : this test works with Xalan 1. But I want to use Xalan 2, due to dependency 
considerations; I want to integrate the docbook generation in the 
existing set of ant tasks we have, where xalan 2 is already 
needed.

- at the same time 
I'm writting this message, I test with new XSL from Norman....

 

 

Dominique JOCAL
Consultant - OCTO 
Technology
mailto:
http://www.octo.com
← Prev in month ← Prev in thread