[LC] 3.3.2 The instance Element

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 UTC