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

Fix splitting of XPath expressions into steps #221

Merged
merged 3 commits into from
Oct 29, 2021

Conversation

clausnagel
Copy link
Member

The SimpleXPathParser splits XPath expressions into steps along every forward slash / contained in the expression. This behavior is not correct because the / might belong to a string literal, in which case splitting is not allowed. See #220 for an example.

This PR fixes this issue.

@clausnagel clausnagel changed the base branch from master to release-5.0 October 27, 2021 06:46
@clausnagel clausnagel merged commit 62bc4bf into release-5.0 Oct 29, 2021
@clausnagel clausnagel deleted the fix-xpath-parser branch October 29, 2021 09:41
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.

2 participants