aspose file tools*
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 Spring in Action this week in the Spring 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: 18658
    
    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: 535
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ArrayIndexOutofBoundException in XSLT