W3C home > Mailing lists > Public > www-forms@w3.org > June 2000

A couple of basic questions...

From: Stanley Santiago <stansa@netscape.com>
Date: Thu, 08 Jun 2000 17:08:34 -0700
Message-ID: <39403582.816DD875@netscape.com>
To: www-forms@w3.org, stansa@netscape.com


The current draft is not very clear on how a XForms aware application
distinguish between an enumeration type and a single valued type.

For example, lets say the data set looks like this


The correspoding form data model would look like this:

	<group name="User>
		<string name="Domain" />
		<string name="Role" range="closed"/>

The Role values are not static but are generated from a database. So I
cannot use the <value>
sub elements. So how can the Enumeration, Role, be distinguished from
the String, Domain ?

The second question I was on tring to apply the XForms Data Model in a
real world scenario.

I as the programmer come out with the a forms data model. This model is
kind of a contract 
between me and the html presentation designer. Should the presentation
designer need to
know the structure/semantics of the underlying instance data set? 
Basically, will the presentation designer have enough information in the
forms data model
to do the job without refering to the underlying data set ?

Received on Thursday, 8 June 2000 20:06:13 UTC

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