- From: Josef Dietl <josef@mozquito.com>
- Date: Fri, 27 Jul 2001 18:05:37 +0200
- To: "Roman Huditsch" <r.huditsch@hico.com>, <www-forms@w3.org>
Hello, Our current thinking is that simpleTypes defined in an external Schema document, and linked to from the <xform:model> element, will be the way to define user datatypes for both Basic and Full XForms. Due to the way that xsi:schemaLocation works, the ability to usefully have inline Schema content is limited, so our current plan uses only external Schemas. Nevertheless, this is a topic of active discussion and may change. Do you have a use cases where xsi:schemaLocation plays a role? I also have to note that I've messed up: attaching XForms specific properties in the instance is not planned at the moment. Our current favorite proposal uses the bind element for that purpose and looks roughly like: <xf:model> <xf:bind ref=".....datum" readOnly="true" /> </xf:model> <xf:instance> .. <datum xsi:type="xsd:date" /> .. </xf:instance> ... though, again, we appreciate any input we can get. Josef -- if you really want to read the disclaimer, see http://lists.w3.org/Archives/Public/www-forms/2001Jul/0084.html and http://lists.w3.org/Archives/Public/www-forms/2001Jul/0083.html > -----Original Message----- > From: Roman Huditsch [mailto:r.huditsch@hico.com] > Sent: Thursday, July 26, 2001 3:34 PM > To: www-forms@w3.org > Subject: Re: <model>- declaration > > > Greetings! > > Refering to Josef's last eMail, I would like to know how you would > define your own datatypes. > Would you create them in the xform:model tag? and which > namespace do you > have to use in that case? > As far as I've understood the idea it would look like this: > > <xform:model> > <xsd:simpleType name="email"> > <xsd:restriction > base="xsd:string"/> > ...... > </xsd:simpleType> > </xform:model> > > <xform:instance> > <email xsi:type="xform:email" xform:readonly="true"/> > ... > > </xform:instance> > > > Is that right or did I got something wrong? > > Cheers, > Roman > > > Roman Huditsch (RH ) > > > _____________________________________________________________________ > > hico Informations- und Kommunikations-Management Gesellschaft m.b.H. > > TechLab, Thomas A. Edison Straße 2. > > A-7000 Eisenstadt / Austria > > phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10 > > e-mail:support@hico.com; r.huditsch@hico.com > > > > > >
Received on Friday, 27 July 2001 12:05:39 UTC