[whatwg] Early feedback on header association algorithm

Ian Hickson ian at hixie.ch
Wed Oct 29 14:54:46 PDT 2008


On Wed, 29 Oct 2008, Kristof Zelechovski wrote:
>
> I shall try to explain the general problem in more detail. Suppose you 
> have a template that inserts a table T into the Web page, and some 
> elements in the table have identifiers.  It is not a safe operation 
> because the identifiers can conflict with element identifiers on the 
> containing page, or element identifiers within code snippets submitted 
> to the template as arguments.  In order to preserve uniqueness of 
> identifiers, you can either rename them or use GUIDs.

Just prefix them with the name of the template.

In general, this feedback seems unrelated to the header association 
algorithm. Could I ask you to send feedback like this in new threads 
instead of replying to tangentially related e-mails?

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list