W3C home > Mailing lists > Public > public-xformsusers@w3.org > October 2016

load action

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Mon, 24 Oct 2016 12:10:00 +0200
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.ypt06yvhsmjzpq@steven-aspire-s7>
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

This archive was generated by hypermail 2.3.1 : Monday, 24 October 2016 10:10:35 UTC