W3C home > Mailing lists > Public > public-forms@w3.org > November 2008

Test 3.2.4a nodeset with bind attr override

From: John Boyer <boyerj@ca.ibm.com>
Date: Thu, 27 Nov 2008 11:55:48 -0800
To: public-forms@w3.org
Message-ID: <OF8E920925.330006E0-ON8825750E.006CA964-8825750E.006D7B87@ca.ibm.com>
Test 3.2.4a in the test suite claims to test nodeset with bind attr 
override.

But the nodeset being overridden by the bind attribute is on a select 
control, which is incorrect because select takes a single node binding.

It is clear that test 3.2.3d is testing bind override of ref, so just 
changing nodeset to ref won't work in this test (3.2.4a).

Instead, the select needs a ref AND the bind attribute override of nodeset 
should be done on the itemset element.

So, set the nodeset of the itemset to something bogus, but override with a 
bind attribute that connects to a bind element with the correct nodeset 
for the itemset.

It's also odd that this test relies on a submission to complete the test. 
Why is that?  Shouldn't it just be the case that you pass the test if you 
can see the correct items in the select?  Otherwise, you're testing not 
just bind overriding nodeset, but you're testing whether multiselection 
selects work and whether submission with a bind works.  These are tested 
by other tests.

John M. Boyer, Ph.D.
STSM, Interactive Documents and Web 2.0 Applications
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
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw
Received on Thursday, 27 November 2008 19:56:30 UTC

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