getodk / getodk/xforms-spec

Document how the sum function should handle invalid values

Open
#371 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
34
Forks
28
Avg merge
27m
Merged PRs (30d)
1

Description

For example, `sum(1, "abc", 3)`. Should `abc` be ignored, or return `NaN`, or throw?

Prior art: Collect ignores "abc". Web Forms returns NaN.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with issue #371 and compare the cited behavior in Collect and Web Forms for sum(1, "abc", 3). Determine which invalid-value behavior the XForms specification should define, then document the chosen rule and its expected result for this example.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.