Test for relevance pruning before validation

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.



Cheers,
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 Wednesday, 25 February 2009 02:35:09 UTC