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/
31 stars 26 forks source link

Clarify nodeset vs ref attributes #235

Open MartijnR opened 5 years ago

MartijnR commented 5 years ago

Our spec implies that refand nodeset can be used interchangeably in the <body> and just recommends to use nodeset for <itemset> and <repeat> elements. I think this is not quite correct. I believe we have to use <nodeset> where allowed and where we refer to (possibly) multiple nodes (e.g. multiple repeat instances). So a <repeat> and <itemset> have to have nodeset attributes. (P.S. unhelpfully Orbeon uses refs for repeats. [Update] This is why (XForms 2.0): ).