getodk / xforms-spec

The XForms-derived specification used in the ODK ecosystem. If you are interested in building a tool that is compliant with the forms rendered by ODK tools, this is the place to start. ✨⚒✨
https://getodk.github.io/xforms-spec/
30 stars 26 forks source link

Add documentation for the new `normalize-space` XPath function in Javarosa #242

Closed jkpr closed 5 years ago

jkpr commented 5 years ago

A recent pull request in Javarosa for the normalize-space function requires documentation for users. Its definition is here: https://www.w3.org/TR/1999/REC-xpath-19991116/#function-string-length

I recommend it be placed with other string functions at: https://github.com/opendatakit/xforms-spec/blob/gh-pages/_sections/30-bindings.md#xpath-functions

lognaturel commented 5 years ago

Since this is part of XPath 1.0 and it's been discussed on the forum, it's ready to add to the spec if you want to do it!