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

JaxenCompiled clone does not reset the underlying Jaxen API's reference to the Jaxen VariableContext #120

Closed
rolfl opened this Issue Jun 8, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@rolfl
Collaborator

rolfl commented Jun 8, 2013

A clone of a JaxenCompile instance will use the original instance's Jaxen VariableContext when evaluating expressions.... in other words, changes to the 'cloned' variable context are not available to the Jaxen code that evaluates the expression, only the original context.

See thread http://jdom.markmail.org/thread/cljkhl27ll6jweyz

@ghost ghost assigned rolfl Jun 8, 2013

rolfl added a commit that referenced this issue Jun 8, 2013

Fixes #120 - clone of JaxenComplied instance.
Now it does a Copy-Constructor clone instead of changing final instance fields.

@rolfl rolfl closed this in 5497a5a Jan 22, 2014

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