W3C home > Mailing lists > Public > www-forms-editor@w3.org > December 2002

Revalidation of nodes in the relevant subtree being submitted

From: John Boyer <JBoyer@PureEdge.com>
Date: Wed, 11 Dec 2002 14:33:17 -0800
Message-ID: <7874BFCCD289A645B5CE3935769F0B524528AB@tigger.pureedge.com>
To: <www-forms-editor@w3.org>

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.

John Boyer, Ph.D.
Senior Product Architect
PureEdge Solutions Inc.
Received on Wednesday, 11 December 2002 17:33:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:05 UTC