Re: Too many nodes for document($resource)/util:eval($xpath)
that.SelectedDude <that.SelectedDude <at> gmx.net>
2006-11-01 20:54:04 GMT
> Well, as far as the (custom) function description , i.e. "The argument
> expression will inherit the current execution context" is clear
I would assume, statement2's current execution context in case of
executing
statement1/statement2
would refer to the results of statement1...
However, I'm not critising the design at all -- not at last by the fact
I don't understand it too well. ;o)
>
http://exist.svn.sourceforge.net/viewvc/exist/trunk/eXist/src/org/exist/xquery/functions/util/Eval.java?annotate=4758
Thanks for pointing me to the actual Java implementation.
It's a bit high for me ^^, however, I've downloaded the /trunk tree in
the meantime - and was trying to import /eXist/src into Eclipse - just
out of interest.
Do you know why Eclipse reports,
"The hierarchy of the type Eval is inconsistent"
for org.exist.xquery.functions.util.Eval.java (and most other classes),
while, in contrast, any classes within the namespace org.exist.storage.*
are not reported as being erroneous?
Thanks
Robert
On Tue, 2006-10-31 at 17:51 +0100, Pierrick Brihaye wrote:
> Answering to myself...
>
> Pierrick Brihaye a écrit :
>
> > Well, as far as the (custom) function description , i.e. "The argument
> > expression will inherit the current execution context" is clear
>
> FYI, it could be as simple as, in
>
http://exist.svn.sourceforge.net/viewvc/exist/trunk/eXist/src/org/exist/xquery/functions/util/Eval.java?annotate=4758,
> replacing line 172 :
>
> Sequence exprContext = null;
>
> by
>
> Sequence exprContext = contextSequence;
>
> Unfortunately, I can't run the test suite right now in order to evaluate
> whether this change introduces some regressions elsewhere.
>
> Unlikely though...
>
> Cheers,
>
> p.b.
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open