xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Purdea <purdeaand...@yahoo.com>
Subject xalan java extentions - nodesets passed incorrectly as parameters?
Date Tue, 24 Jul 2007 10:28:25 GMT
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 

Mime
View raw message