W3C home > Mailing lists > Public > public-forms@w3.org > February 2009

Test for relevance pruning before validation

From: John Boyer <boyerj@ca.ibm.com>
Date: Tue, 24 Feb 2009 21:35:06 -0500
To: public-forms@w3.org
Message-ID: <OF6AFA525D.E375E41E-ON88257568.000D9C5A-88257568.000E2501@ca.ibm.com>
In step 3 of xforms-submit processing, we get a no-data error if relevance 
pruning eliminates all nodes.
In step 4 of xforms-submit processing, we do data validation,

The attached test should be added to the test suite as it tests for the 
step 3 no-data error.
It does so by pruning out an invalid but non-relevant node, so the test 
will also indicate a failure if an error other than no-data, such as 
validation-error, occurs.

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: 

Received on Wednesday, 25 February 2009 02:35:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:59 UTC