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>

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"/>
	<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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:48:48 UTC