W3C home > Mailing lists > Public > public-forms@w3.org > September 2007

Re: Errors in 10.15 Iteration of XForms Actions sample

From: John Boyer <boyerj@ca.ibm.com>
Date: Thu, 6 Sep 2007 14:11:39 -0700
To: Nick_Van_den_Bleeken@inventivegroup.com
Cc: "public-forms " <public-forms@w3.org>, public-forms-request@w3.org, www-forms-editor@w3.org
Message-ID: <OF1D3843CE.FD51BA89-ON8825734E.007468F2-8825734E.007470CA@ca.ibm.com>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:45 UTC