This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: docbook.xsl VS chunk.xsl (xalan problems!)
- From: David Molloy <molloyda at eeng dot dcu dot ie>
- To: bobs at caldera dot com, docbook at lists dot oasis-open dot org
- Date: Thu, 04 Jul 2002 19:01:41 +0100
- Subject: RE: DOCBOOK: docbook.xsl VS chunk.xsl (xalan problems!)
- Reply-to: molloyda at eeng dot dcu dot ie
Hi Bob,
Thanks for the quick response - Here is the output from:
java org.apache.xalan.xslt.EnvironmentCheck [-out outFile]
#---- BEGIN writeEnvironmentReport($Revision: 1.7 $): Useful properties
found: ----
java.version=1.4.0_01
version.JAXP=1.1
java.ext.dirs=C:\Program Files\Java\j2re1.4.0_01\lib\ext
version.crimson=not-present
version.SAX=2.0
java.class.path=.
version.xerces=not-present
sun.boot.class.path=C:\Program Files\Java\j2re1.4.0_01\lib\rt.jar;C:\Program
Files\Java\j2re1.4.0_01\lib\i18n.jar;C:\Program
Files\Java\j2re1.4.0_01\lib\sunrsasign.jar;C:\Program
Files\Java\j2re1.4.0_01\lib\jsse.jar;C:\Program
Files\Java\j2re1.4.0_01\lib\jce.jar;C:\Program
Files\Java\j2re1.4.0_01\lib\charsets.jar;C:\Program
Files\Java\j2re1.4.0_01\classes
version.DOM.draftlevel=2.0fd
version.xalan2=Xalan;Java;Xalan Java 2.2.D11;
version.DOM=2.0
version.xalan1=not-present
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.
Also I read somewhere in the documentation that in order to use XSLT
extensions you need
to use bsf.jar - is this needed or do you think it just has to do with
versions of
Xalan?
Thanks again for your help,
David
-----Original Message-----
From: bobs@caldera.com [mailto:bobs@caldera.com]
Sent: 04 July 2002 18:44
To: molloyda@eeng.dcu.ie; docbook@lists.oasis-open.org
Subject: Re: DOCBOOK: docbook.xsl VS chunk.xsl (xalan problems!)
On Thu, Jul 04, 2002 at 05:53:24PM +0100, David Molloy wrote:
> Hi,
> I've been using docbook lately for writing some notes and
> I really want to get them into multiple files rather than one
> single cumbersome file. Anyway, I tried using chunk.xsl
> instead of docbook.xsl (which was working fine!) by entering
> the xalan directory and typing:
>
> java -cp
>
bin/xalan.jar;bin/xercesImpl.jar;bin/runtime.jar;bin/xsltc.jar;bin/xml-apis.
> jar org.apache.xalan.xslt.Process -IN D:\EE557\notes\EE557.xml -PARAM
> xalan.extensions 1 -XSL ../dbookxsl/html/chunk.xsl -OUT
> D:\EE557\notes\index.html
>
> However, using chunk.xsl I now get back:
> (Location of error unknown)XSLT Error
> (javax.xml.transform.TransformerConfigurationException):
> java.xml.transform.TransformerException:
> java.lang.ArrayIndexOutOfBoundsException
>
> Could anyone please clarify to me what is going on please? And if
possible
> a suggestion as to how to fix it please!
> Thanks in advance,
>
> David Molloy
>
>
> More details:
> JDK - tried jdk1.4.0, jdk1.3.1, jdk1.2.2 - identical problem for each
> Xalan_Java 2
> Windows 2k
What specific version of XalanJ 2 are you using?
I just ran XalanJ 2.4D1 (latest) with java 1.4.0_01
on Windows XP with your CLASSPATH using
the DocBook 1.51.1 chunk.xsl, and
it worked ok.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com