Please post bugs on http://nagoya.apache.org/bugzilla/, taking care to enter the relevent version information, and try to provide a full test case. -scott Sergey Vladyko To: [EMAIL PROTECTED] <s.vladyko@be cc: (bcc: Scott Boag/CAM/Lotus) lcaf.com> Subject: bug 07/31/2001 10:15 AM Please respond to xalan-dev ava.lang.ArrayIndexOutOfBoundsException: 2 > 1 at java.util.Vector.insertElementAt(Vector.java:551) at org.apache.xalan.xsltc.runtime.AbstractTranslet.addVariable(Unknown Source) at RequestPageValidate.applyTemplates() at RequestPageValidate.applyTemplates() at RequestPageValidate.applyTemplates() at RequestPageValidate.applyTemplates() at RequestPageValidate.transform() at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(Unknown Source) at test_xsl.translet1(test_xsl.java:128) at test_xsl.<init>(test_xsl.java:75) at test_xsl.main(test_xsl.java:257) RequestPageValidate - is a translate & a bug at place that equals to <xsl:for-each select ='/FORM/EpPrioSec/EpPrioTbl/PrioEnt[java:dateBefor(string(EpPrioDate),$FaxDateYearBefor,string $language))][position()=1]'> but <xsl:for-each select ='/FORM/EpPrioSec/EpPrioTbl/PrioEnt[java:dateBefor(string(EpPrioDate),$FaxDateYearBefor,string $language))]'> works fine and <xsl:if test ='count(/FORM/EpPrioSec/EpPrioTbl/PrioEnt[java:dateBefor(string(EpPrioDate),$FaxDateYearBefor,string $language))])!=0'> -- don`t work similar if i try last() function or position().
