by the way, here is my classpath: the "cp" folder contains my wrapper classes export CLASSPATH=/usr/share/java/xml-apis.jar:/home/andrew/test/cp:/home/andrew/test/bsf.jar:/home/andrew/test/js.jar:/home/andrew/test/jython.jar:/usr/share/java/xalan2.jar:/usr/share/java/commons-logging.jar:/usr/share/java/bsh.jar Regards, Andrew --- Andrei Purdea <[EMAIL PROTECTED]> wrote:
> Hello! > I have been trying to get the xslt extentions to > work on xalan 2.6.0. > I understand that this version is linked against > an > old version of the Bean Scripting Framework, one > that > was maintained by IBM, and the package name was > com.ibm..... > Now this package is maintained by apache , and the > package name is org.apache..... > I tryed the newest package, and an old one too, > that > still had the com.ibm namespace. When i tryed the > new > one, i wrote some wrapper classes for it, so that > xalan can recognize it.(just like it is detailed > here: > http://weblog.hotales.org/cgi-bin/weblog/nb.cgi/view/python/2004/12/5/0 > ) > Now this is what happened: i could write scripts > in > javascript, or beanshell, or python. Everything > worked > alright, EXCEPT for passing nodesets as parameters! > The documentation says , that when i pass a nodeset, > my function should get a NodeIterator, but I get a > NodeVector object. That wouldn't be a problem if I > could use it, but it seems to pass an empty > nodevector, because wathever expressions i give as > parameter, the size() method of the parameter always > returns 0 :-( > Please note that everything is the newest version, > except for Xalan, which is 2.6.0. > Do you think this is a bug, or am I doing > something > wrong? If this is a bug, then is there a fix, that > can > be applyed without modifying the xalan jar? > I would appreciate your help... > Regards, > Andrew > > > > ____________________________________________________________________________________ > Got a little couch potato? > Check out fun summer activities for kids. > http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz > > ____________________________________________________________________________________ Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/