W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [WF2] Web Forms 2.0: Repetition and type ID

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 3 Jul 2005 12:16:02 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0507031213290.3938@dhalsim.dreamhost.com>
On Sat, 2 Jul 2005, Matthew Raymond wrote:
>
> Couldn't we just solve this with an attribute called "templateid" that 
> would be used in place of the |id| attribute for templates. We could 
> then use |id| for backwards compatibility.

I don't understand how that would help. The problem is not with the 
templateid attribute, it's with any ID attribute. For example:

   <input id="field[x]" ...>

...if you want to give the fields a unique ID in each repetition block.

(Also, multiple ID attributes per element would also be a problem in most 
schema languages, and square brackets are a problem in any ID attribute, 
not just "id".)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 3 July 2005 05:16:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC