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


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-1.49 and XALAN


> From: 	Anthony Mowers[SMTP:amowers@hotmail.com]
> Reply To: 	Anthony Mowers
> Sent: 	Thursday, March 14, 2002 2:11 AM
> To: 	docbook-apps@lists.oasis-open.org
> Subject: 	DOCBOOK-APPS: DocBook-xsl-1.49 and XALAN
> 
> Hi All,
> 
> I have been trying to produce chunked HTML output using the
> docbook-xsl-1.49 stylesheets
> and XALAN.  I get the exception:
> java.lang.ArrayIndexOutOfBoundsException.
> 
Same here. In my code I have a complete pipeline of Castor-XML output ->
xslt -> docbook -> xslt -> fo -> jfor -> .rtf doc. Using Xalan I get those
ArrayIndexOutOfBoundsExceptions as well, using both early releases (2.2D11)
and the latest release (2.3.1) of Xalan. Since I started using SAXON those
Exceptions didn't come up again.

> I am using the latest version of XALAN with JDK1.4,  I have the docbooks
> xalan2.jar in my
> class path.  I also tried an earlier version of the stylesheets and I
> tried SAXON.  All
> with my no success.
> 
> I noticed I am not the only person experiencing this problem.  Someone
> else posted on this
> list with the same problem.
> 
> Can people tell me about their working configurations?  What JDKversion,
> classpath and
> jars are you using?  What version of DocBook stylesheets?  What params do
> you pass into
> the org.apache.xalan.Process class?  I had been hoping I was going to use
> the XSLT in the
> JDK1.4 bundle.
> 
I use JDK1.3.1, Windows2000, Saxon 6.5.1, JFor 0.5.5 (CVS), Castor 0.9.3.9
as XML source and Xerces-1.4.4 as the parser.
Like I said, I use some sort of pipeline to connect all XML processes to
each other with SAX ContentHandlers. This gives the best performance, but
this is very hard to trace bugs like this. Now I know it has something to do
with the DocBook stylesheets...

> Any help is greatly appreciated.
> 
So what are those stylesheets doing if it confuses Xalan so much?

Ciao,

Bart Guijt


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