Skip to content
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

Allow for direct node.findnodes calls without explicit context creation #41

Merged
merged 4 commits into from
Sep 20, 2018

Conversation

dginev
Copy link
Member

@dginev dginev commented Sep 20, 2018

This came up in my recent work, I need a direct node.findnodes() call without having to worry about reusing a document-level context.

Allowed for refactoring a bit the Context struct, now using the more correct DocumentRef object, and staying away from the rather elaborate Document drop logic.

Added a couple of findnodes tests, and valgrind seems happy that no memory is leaked. So I'll just ship a minor release and take it from there.

@dginev dginev merged commit 4d93ead into master Sep 20, 2018
@dginev dginev deleted the xpath-for-nodes branch September 23, 2018 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant