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 13:14:45 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0507031311460.3938@dhalsim.dreamhost.com>
On Sun, 3 Jul 2005, Lachlan Hunt wrote:
> > 
> > Ok, I allowed two other characters to be used in the place of [] as 
> > well.
> 
> In principle, that's a good idea.  But do you really expect a typical 
> author to remember that they should, or even be able to, type and , 
> instead of [ and ] for id attributes, considering that they don't appear 
> most keyboards and they may not even have any fonts with those glyphs 
> available?

No, I expect typical authors to be quite happy not worrying about generic 
XML authoring tools and just to use [ ] instead, which is perfectly 
conformant in HTML5.

Actually I expect most authors to never even remotely come close to this 
problem, since you only hit it if you are doing _all_ of the following:

 1. Using repetition blocks with the template name substitution feature.
 2. Nesting such templates.
 3. Using the XML serialisation of HTML5.
 4. Trying to use tools that are based on XML DTDs or XML Schemas.


> Personally, I prefer Matthew's idea to use a templateid attribute.

As noted, that doesn't solve the perceived problem.

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

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