@initial MIP

http://www.w3.org/MarkUp/Forms/wiki/DeclarativeInsert

Nick and I noted that a form such as

 <bind ref="foo/@bar" initial=""/>

intended to ensure that the foo element and its bar attribute both exist  
(in this case with no initial value) is a wrong use of @ref, since it  
works differently from how @ref works normally.

It is possible that we have to introduce a separate element for this use  
case, such as (strawman):

 <require node="foo/@bar"/>
and
 <require node="foo/@bar" initial="...expression..."/>

Nick also had some remarks about restrictions on the selector in @node,  
which I hope he will add in a reply to this.

Steven

Received on Thursday, 1 December 2011 10:20:06 UTC