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. Bart. > -----Original Message----- > From: Bart Molenkamp > Sent: Tuesday, October 05, 2004 10:44 AM > To: [EMAIL PROTECTED] > Subject: Stylesheet throws ArrayIndexOutOfBoundsException > > 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? > > Bart. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
