W3C home > Mailing lists > Public > public-xformsusers@w3.org > October 2016

<label> vs @label

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 21 Oct 2016 16:40:16 +0200
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.ypotpee7smjzpq@steven-aspire-s7>
I can find no text that specifies what happens in this case:

	<input ref="foo" label="One"><label>Two</label</input>

I propose that @label takes precedence, but I am happy to hear arguments  
against.

There is another related case, such as:

	<toggle case="foo"><case>bar</case></toggle>

Here we do say what happens: the element gets precedence.

I don't know why, and it seems to me that since the element is now  
deprecated, that the other way round is to be preferred.
Again, can anyone enlighten me, and should we make the precedence the  
other way round?

Steven
Received on Friday, 21 October 2016 14:40:54 UTC

This archive was generated by hypermail 2.3.1 : Friday, 21 October 2016 14:40:55 UTC