- From: <Nick_Van_den_Bleeken@inventivegroup.com>
- Date: Tue, 4 Sep 2007 23:03:39 +0200
- To: www-forms-editor@w3.org
- Cc: "public-forms " <public-forms@w3.org>
Dear WG,
Can it be that there are two errors in the 10.15 Iteration of XForms
Actions sample[1] :
1) Value of setvalue is relative to ref => add instance('default') to
value
<setvalue ref="instance('temps')/accumulator"
value=". + /some/nodes[instance('temps')/counter]"
if="boolean-from-string(/some/nodes[instance('temps')/counter]/@selected)"/>
2) If I'm correct /some/nodes[instance('temps')/counter]/@selected always
selects the first node this should be changed to
/some/nodes[number(instance('temps')/counter)]/@selected or
/some/nodes[position() = instance('temps')/counter]/@selected (used two
times in setvalue action)
Regards,
Nick Van den Bleeken - Research & Development
Inventive Designers
Phone: +32 - 3 - 8210170
Fax: +32 - 3 - 8210171
Email: Nick_Van_den_Bleeken@inventivegroup.com
[1] http://www.w3.org/TR/2007/WD-xforms11-20070222/#action-iterated
--------------------------------------------------
Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer
Received on Tuesday, 4 September 2007 21:03:57 UTC