This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes ArrayIndexOutofBoundException in XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "ArrayIndexOutofBoundException in XSLT" Watch "ArrayIndexOutofBoundException in XSLT" New topic
Author

ArrayIndexOutofBoundException in XSLT

Souvik Basu
Greenhorn

Joined: Aug 22, 2009
Posts: 7
I am getting an error while xsl transformation of a xsl file which contains a param within xsl:template.
when I am writing <xsl:value-of select ="$var" /> I am getting "ArrayIndexOutofBoundException" . I am using xslt 1.0. Can anyone tell me the reason why this is happening?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

The stack trace should contain some useful information. Please read our FAQ entry TellTheDetails and then respond based on what you read there.
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 511
    
    3
>I am getting "ArrayIndexOutofBoundException"
You could/should download updated version of xalan-j of 2.7.1 or higher(?) and re-do the transformation see if it resolves the problem.
 
jQuery in Action, 2nd edition
 
subject: ArrayIndexOutofBoundException in XSLT