W3C home > Mailing lists > Public > www-forms@w3.org > July 2005

Insert / delete confusion

From: Erik Bruchez <erik@bruchez.org>
Date: Fri, 01 Jul 2005 11:54:33 +0200
Message-ID: <42C512D9.4060902@bruchez.org>
To: www-forms@w3.org

All,

This is probably (hopefully) covered in the upcoming edition of 1.0, but 
here it goes anyway:

XForms 1.0 was initially very clear that the insert action copies a 
prototype from the initial instance data. The errata then (and also very 
clearly) changed this behavior. The current public XForms 1.1 draft 
however restates that 1.0 uses a prototype from the initial instance 
data, the some additions: in 1.1 draft, the prototype is copied from the 
position specified by the "at" attribute. Also, trying to delete the 
last node of a collection has no effect.

Given these contradictions, what is an implementor of 1.0 to do? Do 
current XForms engines actually implement insert by copying a node from 
the initial instance data, or do they implement what's in the erroneous 
errata (tm)? Does it make sense to already implement the proposed 1.1 
behavior?

-Erik
Received on Friday, 1 July 2005 09:55:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:01 GMT