W3C home > Mailing lists > Public > www-forms@w3.org > January 2003

RE: Question regarding XML Schema functionality in XForms

From: Dueck, Brian <bdueck@metasolv.com>
Date: Wed, 29 Jan 2003 10:22:19 -0600
Message-ID: <E8F1B37FC20ED74BAC2685B05C799714555AC8@srvtoemail.metasolv.com>
To: Thomas Fuller <TFuller@gtefcu.org>
Cc: "'www-forms@w3.org'" <www-forms@w3.org>
Tom;
 
Chiba is an XForms implementation that includes an XML Schema -> XForms
generator. One of the things that generator supports is a mapping from XML
Schema enumerated restrictions to a select1 with associated items. 
 
In other words define your XML Schema with the enumeration, and an
appropriate XForm will be generated that complies to that schema. You can
check it out at http://www.sourceforge.net/projects/chiba
<http://www.sourceforge.net/projects/chiba> 
 
Brian.

-----Original Message-----
From: Roland Merrick [mailto:roland_merrick@uk.ibm.com]
Sent: Wednesday, January 29, 2003 10:30 AM
To: Thomas Fuller
Cc: 'www-forms@w3.org'
Subject: Re: Question regarding XML Schema functionality in XForms



Greetings, what you ask for is not explicitly supported by the XForms spec,
the XForms UI Controls are abstract and as such have no notion of something
like a drop down. 

However, where we describe the input element [
http://www.w3.org/TR/xforms/slice8.html#ui-input ] we state in the
implementation requirements that the implementations should be sensitive to
the type of data that they are bound to. An example is given of sensitivity
to a date, but sensitivity to a type having enumerated values should also be
considered when an implementation chooses how best to represent the type. 

The author could choose to use a <select1>, rather than <input>, as the UI
control to influence the subsequent rendering.

Regards, Roland 



	Thomas Fuller <TFuller@gtefcu.org> 
Sent by: www-forms-request@w3.org 


28/01/2003 13:34 


        
        To:        "'www-forms@w3.org'" <www-forms@w3.org> 
        cc:         
        Subject:        Question regarding XML Schema functionality in
XForms 

       





Everyone, 

  

I'm relatively new to the XFormsRecommendation from W3 and wanted to ask a
question regarding XML Schema.  One thing I'd like to be able to do from a
schema document is build a drop down with the choices available from an
enumerable restriction base in my XML Schema.  Is that supported in the
XFormsspec, I've been reading through it and trying to implement some of the
more simple examples and I'm not seeing it?  Any feedback would be greatly
appreciated. 

  

Tom Fuller, GTE Federal Credit Union 

813-871-2690 ext 2608 
Received on Wednesday, 29 January 2003 11:28:38 GMT

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