Re: Errors in 10.15 Iteration of XForms Actions sample

Great finds, Nick.  These are fixed now in the editor's draft.

Cheers,
John M. Boyer, Ph.D.
STSM: Lotus Forms Architect and Researcher
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer





Nick_Van_den_Bleeken@inventivegroup.com 
Sent by: public-forms-request@w3.org
09/04/2007 02:03 PM

To
www-forms-editor@w3.org
cc
"public-forms " <public-forms@w3.org>
Subject
Errors in 10.15 Iteration of XForms Actions sample







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 Thursday, 6 September 2007 21:12:08 UTC