wsharba / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 1 forks source link

min() and max() to accept nodeset for all argument #1044

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When working on the ODK spec, I noticed that min() and max() only accept the 
NodeSetType for the first argument (or am I misreading?).

Would seems worthwhile (and easy enough) to change this to allow any argument 
to be of NodeSetType. This would make it conform to XPath 2.0: 
http://www.w3.org/TR/xpath-functions/#func-max

Already the case in Enketo.

Original issue reported on code.google.com by mart...@enketo.org on 14 Aug 2014 at 9:36

GoogleCodeExporter commented 9 years ago
correction: to change this to allow an argument *of any type*

Original comment by mart...@enketo.org on 5 Sep 2014 at 5:50