Revalidation of nodes in the relevant subtree being submitted

The working group seems to uniformly agree that only the relevant nodes in the instance tree or subtree being submitted are to be revalidated.

However, Section 11.1 says that 'All selected instance data' is to be revalidated **according to the rules in Section 4.3.5**, which says to validate the whole instance (actually it says to validate all instances).  One could reasonably conclude that the whole instance containing the selected instance data is to be revalidated.  

A clarification to Section 11.1 would help.  Here is a suggestion for the new wording:

2. Within the selected instance or subtree indicated by the <submission> ref attribute, all relevant nodes are revalidated using the rules that '4.3.5 The xforms-revalidate Event' normally applies to all nodes. Any invalid instance data stops submit processing after dispatching event xforms-submit-error.

Separately, there still seems to be some question about whether structural validation is done or whether only datatype validation is done.  To me, the spec clearly indicates that all nodes (that are relevant and in the subtree being submitted) will be revalidated, whether that means structural or datatype revalidation.  If an alternate meaning is intended, then it needs to be clarified.

Thanks,
John Boyer, Ph.D.
Senior Product Architect
PureEdge Solutions Inc.
 

Received on Wednesday, 11 December 2002 17:33:52 UTC