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. ✨⚒✨
>> Something broke the parser. See above for a hint.
org.javarosa.xpath.XPathUnsupportedException: XPath evaluation: unsupported construct [nodeset union operation]
I'm not sure if the solution is to change the spec, or to implement this support. So for now it's just a problem statement!
As stated here:
Create a XLSForm like so (note the escaped pipe is new syntax not yet in pyxform):
Which generates this XForm:
Give the XForm to ODK Validate and it says:
The error comes from the Javarosa union expression handler.
Dimagi/CC does the same thing and their spec doc says the same thing (union supported).
ODK Collect docs allude to unions here:
Only reference I could find about union support was in relation to adding the
randomize
functions: https://github.com/getodk/javarosa/issues/273