- From: Dave Raggett <dsr@w3.org>
- Date: Fri, 21 Apr 2000 15:16:01 +0100 (GMT Daylight Time)
- To: Joe Hewitt <joe@joehewitt.com>
- cc: www-forms@w3.org
On Thu, 20 Apr 2000, Joe Hewitt wrote: > > A variation of this capability shows up in the XForms working > > draft [1] as > > 'mask' and 'pattern' facets on the string type. > > Right, but a pattern is not a picture because it's not a fixed > format, and as of now mask is only specified on the string type. > I assume you plan to add mask to all data types and expand the > vocabulary, perhaps to the level of flexibility defined in the > XFA document. We haven't discussed do this to date. Can you provide some examples where it would be particularly useful? > Also, mask seems to be only for validation purposes (as of now). > There need to be a flag which which specifies whether the mask > is for validating input, or formatting output. It can't be both > because if you're using the mask to format, it's always goign to > output something valid. The data model is about validation and not about presentation. The model-view-controller paradigm will allow the presentation format to be different from the internal representation as described by the data model. The work on the user interface is still at a very early stage, though. Regards, -- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile) World Wide Web Consortium (on assignment from HP Labs)
Received on Friday, 21 April 2000 10:16:12 UTC