W3C home > Mailing lists > Public > www-forms-editor@w3.org > June 2007

[LC] 3.3.2 The instance Element

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 08 Jun 2007 11:31:08 +0200
To: "www-forms-editor@w3.org" <www-forms-editor@w3.org>
Message-ID: <op.ttljd60vsmjzpq@acer3010.lan>

http://www.w3.org/TR/xforms11/#structure-model-instance

(Sorry that these are so late, but I was rereading the spec in the plane  
this week, and saw these things, and thought better to comment than not)

This section says "If both the resource attribute and inline content are  
provided, the inline content takes precedence as described at 4.2.1 The  
xforms-model-construct Event. "

Are we sure that this is the best approach? I seem to remember that the  
discussion was about freeing two birds with one key:

	If the resource URL fails, then use the inline content.

The advantage being, the inline instance can provide a template, and the  
resource can supply the 'saved' version. So the first time you run an  
application, you get the default content (such as an empty to-do list),  
and when you save it to some resource, future times you start up you get  
the saved version.

Steven
Received on Friday, 8 June 2007 09:31:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:15 GMT