- From: Erik Bruchez <erik@bruchez.org>
- Date: Wed, 24 Aug 2005 20:07:02 -0700
- To: www-forms@w3.org
All, The behavior of repeat indexes upon insert, delete, and setindex is well defined in the XForms spec. In particular, the spec says that upon deleting the last element of an homogenuous collection, any repeat index associated with that collection is set to 0. Now upon instance replacement, it seems reasonable to think that if the homogenous collection goes from empty to non-empty, the repeat index should be set to the startIndex value of the repeat element. It also seems reasonable in general to expect that repeat indexes are adjusted, and appropriate events fired, for example if the updated collection is smaller than the original collection and a repeat index becomes out of bounds. Unless I am mistaken, the spec + errata are silent on those points. Any thoughts about this? -Erik
Received on Thursday, 25 August 2005 03:07:27 UTC