Subjects
Home
Xalan extension functions
Fomatting question serializing DOM with pretty print
xalan with pull parser
Cannot find the declaration
Apache Xalan drop support to run on JRE 1 1 x
Why does Doctype change processing of a document
Node set to XML string via Java extensions in Xalan J: possible?
Templates/Transformers + thread safety???
Problem evaluating xpath with muliple prefix with different namespace
remove an arbitrary attribute from xsl output
Xalan3 XSLT 2 0 XPath 2 0 support?
Problem using compiled translets with Xalan !!
Xalan and jstl 1 1 problem with transform tag
NullPointer in DOM2DTM getLocalName
URIResolvers base parameter with xsltc and cascaded imports
Performance problem for Xalan J on intel dual core
Standard libraries in JAXP?
Serializing a DOM tree to XML file, customize entities replacement
Library Conflict Involving BCEL Library
A question on how users are using <xsl:message >
Kevin Cormier as a new Apache Xalan J committer
Struggling to iterate over tokenized string
Xalan count() trouble
Problem with recursive xpath
Error when switching to java 1 5
document( ' ')
Problem with Xalan2 7 0 transformation
cr/lf options
entity encoded XML
can xalan transform 2 xml using one xslt?
Xalan J JIRA defect review Monday October 16, 2006 from 2:00 to 3:30 pm ED
xsl transform with cdata section elements
xslt parameters not expanded
Weird behavior of XPath evaluate()
How to avoid <xsl:message > instruction prints stylesheet file informations ?
Cannot find SimpleTransform subdirectory after installing Xalan J
recover from document not found exceptions
jdk1 5 and Xalan jar differences?
Performance Issue
Error/Bug adding floating point numbers
XPathAPI: eval exp using nodes with default namespace
modifying xalan to output invalid XML
NullPointerException
mege two separate xml nodes into one
Is this a XALAN document identification bug?
is StylesheetRoot really java io Serializable ?
transform() fails for DOMSource but succeeds for StreamSource
Thoughts on Transformer parameter passing
HELP, Xalan and jstl 1 1 problem with transformer
Problem with XPath namespace axis?
string utils:replace deleting search string if replacement string is an HTML
help with enumeration values pls
xalan 2 5 1 vs 2 7 performance question
How to insert/update in XML document
HTML Serialization and Handling of Ampersands in HREF Attributes
XHTML link tag stripping
SystemId Unknown; Line #24; Column #49; java lang NullPointerException
xpath text() help
Apostrophe problem with xalan 2 7 0
How to set variables in XML document?
Links
Home
Oracle database error code ...
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
xalan java extentions - nodesets passed incorrectly as parameters?

xalan java extentions - nodesets passed incorrectly as parameters?

2007-07-24       - By Andrei Purdea
Reply:     1     2  

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 <purdeaandrei@(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/