New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Sequence recompile XPath at each iteration #143

Closed
innovimax opened this Issue Feb 27, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@innovimax
Contributor

innovimax commented Feb 27, 2014

It seems like Split Sequence recompiles XPath at each iteration on the sequence

XPathCompiler xcomp = runtime.getProcessor().newXPathCompiler();

You could unwrap the compilation of the XPath expression very easily and only let the creation of the dynamic context in the loop

XPathDynamicContext xdc = xexpr.createDynamicContext(doc.getUnderlyingNode());

@ndw

This comment has been minimized.

Show comment
Hide comment
@ndw

ndw Mar 12, 2014

Owner

Ok

Owner

ndw commented Mar 12, 2014

Ok

@ndw ndw closed this Apr 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment