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

Hi,

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

For example, lets say the data set looks like this

	<User>
	   <Domain>A.Com</Domain>
 	   <Role>SysAdmin</Role>
	   <Role>HelpDeskAdmin</Role>
	</User>

The correspoding form data model would look like this:

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

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 ?

Stan
Received on Thursday, 8 June 2000 20:06:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:48 GMT