getodk/javarosa

Type conversion may not be as described by XPath spec

lognaturel opened this issue · 1 comments

https://forum.opendatakit.org/t/how-to-compare-2-calculated-values/5588 for sample form.

It should be possible to sum fields of type string because they should automatically be coerced to numbers.

More context: XLSForm/xlsform.github.io#71 (comment) and XLSForm/pyxform#70 (comment)

We should at least have tests to document the current behavior.

This works as expected now so we can close the issue.