submission/@ref

https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_submission_Element

Ref on submission was described as a "binding expression":

"Author-optional selector binding expression enabling submission of a  
portion of the instance data. The selected node, and all descendants, are  
selected for submission. The default value is "/"."

Submission processing says:

"The binding attributes of submission are evaluated; if the result is the  
empty sequence or an item other than an element or an instance document  
root node, submission fails with no-data."

This means that if I have

 <instance><data><a/><a/><a/></data>
 <submission ref="a"/>

that it will fail with "no-data". Maybe this is a left-over from it being  
called "ref", and that that meant it was automatically a single-node  
binding.

Does anyone have any objection to describing it as a Single Item Binding?

Steven

Received on Wednesday, 14 December 2016 14:41:09 UTC