1. Java Rosa
  2. javarosa
Issue #65 new

sum() of empty nodes or nodeset with at least one empty node

Anonymous created an issue

sum(nodes with values: 1, empty) = NaN (conforms to XPath 1.0 spec) sum(nodes with values: all empty) = 0 (deviates from XPath)

One of the two results should probably be treated as a bug.

see: https://www.commcarehq.org/webforms/enterall/320 for a quick manual test (submit to see the sum)

Comments (0)

  1. Log in to comment