Invalid syntax can pass Validate if it's in part of an expression that is not evaluated
Open
- Dominant language
- Java
- Stars
- 13
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
This limitation is described in the README at https://github.com/getodk/validate#how-validate-validates but I think it's worth calling out in an issue as well.
https://github.com/enketo/enketo/issues/1097 has another example of a form that passes Validate but has bad behavior because of an `or or`.
Contributor guide
Research direction
Start with the README section on how Validate validates and compare its limitation with the example linked from enketo/enketo#1097. Trace how an expression containing invalid syntax such as `or or` is handled; done should be defined by an agreed resolution for forms that currently pass Validate but behave incorrectly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100