This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]