load action

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

Just checking that we agree.

The current text allows, in order:

 <load ref="uri"/>
 <load resource="http://example.com"/>
 <load resource="{uri}"/>
 <load><resource>http://example.com</resource></load>
 <load><resource value="uri"/></load>

Furthermore, and this surprises me, it says:

"If the Single Item Binding is given in addition to one of the
<code>resource</code> attribute or <code>resource</code> element, then the
action has no effect."

That surprises me (and is different to other places in the spec).

I think we should say that if value and ref are both present, value wins,
being evaluated in the context of ref.

Steven

Received on Monday, 24 October 2016 10:10:34 UTC