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.

Joerg

-----Original Message-----
From: Bart Molenkamp

Hi,

My stylesheet produces an ArrayIndexOutOfBoundsException (the
transformer produces it). In my case, I have an XML document that

looks

much like Forrest's document-v12. In that document, I embed a CForms
form. I first apply forms transformation (the forms transformer and

the

stylesheets), then I apply the stylesheet document2html.xsl. But the
last throws an ArrayIndexOutOfBoundsException: -1.

Anyone else with a problem similair?

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to