Re: Should instance element be optional?

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,
--raman
------------------------------------------------------------
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