[EMAIL PROTECTED] wrote:
> > Here's how it's a problem.  In my example stylesheet below, would the
> > extension mechanism call Node.getNodeValue() which would be the correct
> > thing to do or XNodeSet.getNodeValue() which doesn't exist.  How would
> > it know which to call?
> 
> In either case, wouldn't the MethodResolver#convert/XObject.CLASS_NODESET
> catch this and provide a DOM interface?  (Even if they passed XNodeSet as a
> parameter).  The DOM should be the API for extensions for nodesets.  So the
> answer to your question, I think, is the extension would call
> Node#getNodeValue() in either case.

Scott, I'd have to check the code but I'm pretty sure that this doesn't
go through MethodResolver.convert.  The first argument is treated as the
object on which the method is invoked and not a parm to anything.  I
think convert is only done for parms.

Gary

Reply via email to