Closed adamretter closed 11 months ago
@adamretter Thanks for your important bug reports!
I'm fully aware of this and have this scheduled for a code review. For now. it surprisingly does what the developer intended. There is no urgent need to fix this "bug", other than general code review.
closing
I think we should leave this open until it's fixed. I'm happy to send a PR, I normally open issues before sending fixes in PRs
The XQuery code contains multiple usages of the
!=
operator for string comparison. This is incorrect, instead:$x ne $y
should be usednot($x = $y)
should be usedThe
!=
operator rarely is the correct operator to use in XQuery, and almost always not what the developer intended.