You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/07/29 18:24:02 UTC
DO NOT REPLY [Bug 7776] -
Value not being passed to extension function
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7776>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7776
Value not being passed to extension function
mkwan@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|xalan-dev@xml.apache.org |mkwan@ca.ibm.com
------- Additional Comments From mkwan@ca.ibm.com 2002-07-29 16:24 -------
The real problem is in the extension handler. It is better to fix it there
rather than messing up with the xpath code.
In ExtensionHandlerJavaClass.callFunction(), if a method has been called once,
the next time it will be located from the cache. In this case the method is
called on an XObject instance. This will always throw an
IllegalArgumentException (the exception is ignored). The correct solution is to
invoke the method on the object that the XObject wraps.