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

Re: Should instance element be optional?

From: T. V. Raman <tvraman@almaden.ibm.com>
Date: Tue, 15 Jan 2002 08:21:05 -0800
Message-ID: <15428.22257.673776.149597@bubbles.almaden.ibm.com>
To: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
Cc: <werner.donne@re.be>, <www-forms@w3.org>
We kept element "instance" optional 
for the "lazy HTML author" who does not define a data model
or instance.

For  using all of the XForms functionality --you will need
the instance document.
>>>>> "Jérôme" == Jérôme Nègre <jerome.negre@e-xmlmedia.fr> writes:

    >> According to the schema for XForms it is not
    >> necessary to have an instance
    Jérôme> element in the
    >> model. How can the form then be bootstrapped? The
    >> instance data would be
    Jérôme> empty after
    >> initialisation and the only action I have found that
    >> can create new
    Jérôme> elements is insert. That
    >> action, however, needs elements in the instance
    >> element to copy to the
    Jérôme> instance data.

    Jérôme> In such a case, the instance data is created on
    Jérôme> xforms:formControlInitialize (chapter 11.2.5).

    Jérôme> Regards, Jérôme

Best Regards,
T. V. Raman:  PhD (Cornell University)
IBM Research: Human Language Technologies
              Conversational And Multimodal WWW Standards
Phone:        1 (408) 927 2608
Fax:        1 (408) 927 3012
Email:        tvraman@us.ibm.com
WWW:      http://www.cs.cornell.edu/home/raman
PGP:          http://emacspeak.sf.net/raman.asc
Snail:        IBM Almaden Research Center,
              650 Harry Road
              San Jose 95120
Received on Tuesday, 15 January 2002 11:21:56 UTC

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