W3C home > Mailing lists > Public > public-forms@w3.org > December 2011

@initial MIP

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Thu, 01 Dec 2011 11:19:30 +0100
To: "Forms WG" <public-forms@w3.org>
Message-ID: <op.v5s2ymiksmjzpq@steven-750g>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:56 UTC