-
Notifications
You must be signed in to change notification settings - Fork 89
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
last() not working on subgroups #76
Comments
@zhengchun sorry to bother you, do you think you'll have the occasion to solve this in the near future? I tried to have a look at it by myself but I really couldn't figure it out. Thank you |
Okay, I'm trying to fix this, it take a while. |
@ale-rinaldi , I try add a new class This commit dfece7e just put |
Thank you very much, having a way to do that, without other code than the xpath itself, is enough for my use case. Subgrouping is not a problem 👍 Thanks again! |
I'll try to fix another , It is more complex than subgroup query 😄 |
@ale-rinaldi , Hello, The commit dfece7e will causing the deadlock in the multiple goroutines. Please update your package to the the latest version https://github.com/antchfx/xpath/releases/tag/v1.2.3, it fixed the deadlook bug and |
Sorry @zhengchun for answering that late, and thank you very much for the fix, I can confirm it works like a charm! |
Hello,
first of all, thanks for your amazing work, it's really useful to me.
I'm having an issue when using the
last()
function on a subgroup, for example on a result of another filter.For example, this piece of code:
I would expect this to print "Second", but it prints nothing, because the output from the query has no elements.
Am I doing something wrong, or is this an issue on the last() function?
Thank you!
The text was updated successfully, but these errors were encountered: