cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject RE: Stylesheet throws ArrayIndexOutOfBoundsException
Date Wed, 06 Oct 2004 06:04:44 GMT


> -----Original Message-----
> From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de]
> Sent: Tuesday, October 05, 2004 7:34 PM
> To: users@cocoon.apache.org
> Subject: Re: Stylesheet throws ArrayIndexOutOfBoundsException
> 
> On 05.10.2004 12:02, Bart Molenkamp wrote:
> 
> > Solved it.
> >
> > Forrest's document2html.xsl contains a template matching "@id", and
I
> > guess that this conflicts with the id attributes from CForms, eg
> > <ft:widget id="..."/>
> >
> > Still, I think that the exception thrown is not correct, but I guess
> > that's a Xalan bug.
> 
> Whenever an ArrayIndexOutOfBoundsException is thrown is XSLT it's a
bug
> in Xalan IMHO! What shall a developer do with such an exception?
> 
> But I had also such cases. I can happen when you have a circular
> template call or something similar. It mostly helps to remove one
> template after another (or remove all and re-add them step by step) to
> find out which template causes the exception.

Yes, that's exactly what I did to solve it. Thanks ;)

> 
> Joerg
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message