W3C home > Mailing lists > Public > www-forms@w3.org > February 2001

Dynamic Constraints Language validation

From: John Liston <John@asconline.com>
Date: Tue, 6 Feb 2001 12:12:06 -0500
Message-ID: <20CDA60B224BD111833D006097195C68A60B05@EXCHANGENT40>
To: "'www-forms@w3.org'" <www-forms@w3.org>
Section 6.2.7 of the WD discusses how validation using Dynamic Constraints
Language will be triggered. Specifically it says "the specified Dynamic
Constraint is invoked every time the value of the declaring datatype
changes". Maybe I'm mistaken (and certainly "declaring datatype" goes
largely undefined), but I interpret this to mean that DCL validation will
occur only when the instance value of a model item changes. I think this
ignores the reality that the Dynamic Constraints themselves will change over
time. I believe there has to be an "always validate" mechanism to cause
validation to occur any time a model item has "lost focus", regardless of
whether the instance value changed. This enables new DCL validation to be
applied to existing data (where the WD more simply allows existing
validation to be applied to new data). For this reason, I also believe the
"always validate" mechanism should be an "XForms specific property"
applicable to any datatype.

John Liston
Received on Tuesday, 6 February 2001 12:13:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:04 UTC